org.zkoss.zk.ui.activate.wait.retry.timeout"

From Documentation
(Created page with "{{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zk.ui.activate.wait.retry.timeout Default: <tt>120000</tt> (unit: milliseconds) [since 5.0.3] A library pro...")
 
m
Line 10: Line 10:
  
 
Notice that, after timeout, the activation will restart automatically. That is, the value won't really affect the result (no aborting or other). It is designed to avoid the annoying warning messages found in some JVM. For example, IBM JVM shows a warning if wait() exceeds 10 minutes. To prevent the warning, you can set the value to less than 10 minutes.
 
Notice that, after timeout, the activation will restart automatically. That is, the value won't really affect the result (no aborting or other). It is designed to avoid the annoying warning messages found in some JVM. For example, IBM JVM shows a warning if wait() exceeds 10 minutes. To prevent the warning, you can set the value to less than 10 minutes.
 +
 +
If you'd like to abort the activation (and then end the waiting thread), you also have to specify [[ZK Configuration Reference/zk.xml/The Library Properties/org.zkoss.zk.ui.activate.wait.retry.abort | org.zkoss.zk.ui.activate.wait.retry.abort]] to true.
  
 
<source lang="xml">
 
<source lang="xml">

Revision as of 02:39, 7 January 2013


org.zkoss.zk.ui.activate.wait.retry.timeout


Property:

org.zkoss.zk.ui.activate.wait.retry.timeout
Default: 120000 (unit: milliseconds)
[since 5.0.3]

A library property to specify the timeout (in milliseconds) to wait for the activation.

Notice that, after timeout, the activation will restart automatically. That is, the value won't really affect the result (no aborting or other). It is designed to avoid the annoying warning messages found in some JVM. For example, IBM JVM shows a warning if wait() exceeds 10 minutes. To prevent the warning, you can set the value to less than 10 minutes.

If you'd like to abort the activation (and then end the waiting thread), you also have to specify org.zkoss.zk.ui.activate.wait.retry.abort to true.

<!-- in WEB-INF/zk.xml -->
<library-property>
	<name>org.zkoss.zk.ui.activate.wait.retry.timeout</name>
	<value>60000</value>
</library-property>

Version History

Last Update : 2013/01/07


Version Date Content
5.0.3 June, 2010 Introduced



Last Update : 2013/01/07

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.