The desktop-config Element"
From Documentation
(Replaced content with '{{ZKConfigurationReferencePageHeader}} {{ZKConfigurationReferenceHeadingToc}} ==Version History== {| border='1px' | width="100%" ! Version !! Date !! Content |- | |…') |
m (correct highlight (via JWB)) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ZKConfigurationReferencePageHeader}} | {{ZKConfigurationReferencePageHeader}} | ||
− | + | It is used to customize how ZK handles desktops. You might have multiple <code>desktop-config</code> elements in one <code>zk.xml</code>. | |
− | = | + | <source lang="xml" > |
− | + | <desktop-config> | |
− | + | <desktop-timeout>3600</desktop-timeout> | |
− | + | <disable-theme-uri>~./zul/css/zk.wcs</disable-theme-uri> | |
− | + | <file-check-period>5</file-check-period> | |
− | + | <extendlet-check-period>10</extendlet-check-period> | |
− | + | <theme-uri>/my/blue**.css</theme-uri> | |
− | + | <theme-uri-handler-class>my.MyThemeURIHandler</theme-uri-handler-class> | |
− | + | <theme-provider-class>my.MyThemeProvider</theme-provider-class> | |
+ | </desktop-config> | ||
+ | </source> | ||
+ | {{ZKConfigurationReferenceHeadingToc}} | ||
{{ZKConfigurationReferencePageFooter}} | {{ZKConfigurationReferencePageFooter}} |
Latest revision as of 10:19, 19 January 2022
It is used to customize how ZK handles desktops. You might have multiple desktop-config
elements in one zk.xml
.
<desktop-config>
<desktop-timeout>3600</desktop-timeout>
<disable-theme-uri>~./zul/css/zk.wcs</disable-theme-uri>
<file-check-period>5</file-check-period>
<extendlet-check-period>10</extendlet-check-period>
<theme-uri>/my/blue**.css</theme-uri>
<theme-uri-handler-class>my.MyThemeURIHandler</theme-uri-handler-class>
<theme-provider-class>my.MyThemeProvider</theme-provider-class>
</desktop-config>