The theme-uri Element"
From Documentation
(Created page with '{{ZKConfigurationReferencePageHeader}} [Default: ''none''] It specifies the URI of an addition theme (aka., a style sheet file). Like other URI, it accepts "*" for loading br…') |
m |
||
Line 1: | Line 1: | ||
{{ZKConfigurationReferencePageHeader}} | {{ZKConfigurationReferencePageHeader}} | ||
+ | |||
+ | '''Syntax:''' | ||
+ | <theme-uri>''a_theme_uri''</theme-uri> | ||
[Default: ''none''] | [Default: ''none''] | ||
Line 24: | Line 27: | ||
# Each JAR could specify a <tt>lang-addon.xml</tt> file (under the <tt>metainfo/zk</tt> directory), so you could specify style sheets there if you have more than one style sheets. | # Each JAR could specify a <tt>lang-addon.xml</tt> file (under the <tt>metainfo/zk</tt> directory), so you could specify style sheets there if you have more than one style sheets. | ||
# You could specify extra CSS files for individual ZUML pages by use of the [[ZK Component Reference/Essential Components/Style|<tt>style</tt> component]]. | # You could specify extra CSS files for individual ZUML pages by use of the [[ZK Component Reference/Essential Components/Style|<tt>style</tt> component]]. | ||
− | + | ||
+ | =Version History= | ||
+ | {{LastUpdated}} | ||
+ | {| border='1px' | width="100%" | ||
+ | ! Version !! Date !! Content | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |} | ||
+ | {{ZKConfigurationReferencePageFooter}} |
Revision as of 14:29, 3 December 2010
Syntax:
<theme-uri>a_theme_uri</theme-uri>
[Default: none]
It specifies the URI of an addition theme (aka., a style sheet file).
Like other URI, it accepts "*" for loading browser and Locale dependent style sheet. Please refer to ZK Developer's Reference for details.
You can specify any number of them-uri as follows.
<desktop-config>
<theme-uri>/my/blue**.css</theme-uri>
<theme-uri>/my/second.css</theme-uri>
</desktop-config>
If you want to replace a default theme, you have to use theme-uri with disable-theme-uri. Please refer to ZK Developer's Reference for more information.
Notice:
- All style sheets defined in lang.xml and lang-addon.xml are loaded, no matter this parameter is defined or not. It is convenient for developers to override certain styles.
- Each JAR could specify a lang-addon.xml file (under the metainfo/zk directory), so you could specify style sheets there if you have more than one style sheets.
- You could specify extra CSS files for individual ZUML pages by use of the style component.
Version History
Version | Date | Content |
---|---|---|