ZK Configuration"
From Documentation
Line 11: | Line 11: | ||
</source> | </source> | ||
− | Also notice that you cannot enable the use of the event thread (it is disabled by default). For more information, please refer to the [[ZK Developer's Reference/UI Patterns/Event Threads|Event Threads]] section. | + | Also notice that you cannot enable the use of the event thread (it is disabled by default)<ref>The reason is that the event thread might be suspended. Unfortunately, the thread cannot be migrated from one machine to another.</ref>. For more information, please refer to the [[ZK Developer's Reference/UI Patterns/Event Threads|Event Threads]] section. |
+ | |||
+ | <blockquote> | ||
+ | ---- | ||
+ | <references/> | ||
+ | </blockquote> | ||
=Version History= | =Version History= |
Revision as of 03:34, 18 November 2010
To use ZK in a clustering environment, you have to use the serializable UI factory. It could be done by specifying the following statement in WEB-INF/zk.xml:
<zk>
<system-config>
<ui-factory-class>org.zkoss.zk.ui.http.SerializableUiFactory</ui-factory-class>
</system-config>
</zk>
Also notice that you cannot enable the use of the event thread (it is disabled by default)[1]. For more information, please refer to the Event Threads section.
- ↑ The reason is that the event thread might be suspended. Unfortunately, the thread cannot be migrated from one machine to another.
Version History
Version | Date | Content |
---|---|---|