The client-config Element"

From Documentation
m
Line 1: Line 1:
 
{{ZKConfigurationReferencePageHeader}}
 
{{ZKConfigurationReferencePageHeader}}
  
 +
It is used to customize the behavior of the ZK Client Engine. You might have multiple <tt>client-config</tt> elements in one <tt>zk.xml</tt>.
 +
 +
<source lang="xml" >
 +
<client-config>
 +
    <click-filter-delay>0</click-filter-delay>
 +
    <debug-js>false</debug-js>
 +
    <disable-behind-modal>false</disable-behind-modal>
 +
    <error-reload>
 +
        <device-type>ajax</device-type>
 +
        <error-code>301</error-code>
 +
        <reload-uri></reload-uri>
 +
    </error-reload>
 +
    <keep-across-visits>true</keep-across-visits>
 +
    <processing-prompt-delay>900</processing-prompt-delay>
 +
    <tooltip-delay>800</tooltip-delay>
 +
    <resend-delay>9000</resend-delay>
 +
</client-config>
 +
</source>
  
 
{{ZKConfigurationReferenceHeadingToc}}
 
{{ZKConfigurationReferenceHeadingToc}}

Revision as of 10:45, 3 December 2010


The client-config Element


It is used to customize the behavior of the ZK Client Engine. You might have multiple client-config elements in one zk.xml.

 <client-config>
     <click-filter-delay>0</click-filter-delay>
     <debug-js>false</debug-js>
     <disable-behind-modal>false</disable-behind-modal>
     <error-reload>
         <device-type>ajax</device-type>
         <error-code>301</error-code>
         <reload-uri></reload-uri>
     </error-reload>
     <keep-across-visits>true</keep-across-visits>
     <processing-prompt-delay>900</processing-prompt-delay>
     <tooltip-delay>800</tooltip-delay>
     <resend-delay>9000</resend-delay>
 </client-config>



Version Date Content
5.0.4 July, 2010 resend-delay is default to -1 (i.e., disabled by default) no matter ZK CE or EE.



Last Update : 2010/12/03

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