The disable-theme-uri Element"

From Documentation
m
m
Line 6: Line 6:
 
  [Default: ''none'']
 
  [Default: ''none'']
  
It specifies what theme URI to be disabled. The theme URI shall be one of the default theme URI. For example, the following statement disables the generation of the default theme URI for the ZK XUL component set.
+
It specifies what theme URI to be disabled. The URI shall be one of the URIs generated by the current theme. For example, the following statement disables the generation of the URIs of the default theme (since it has only one URI: <tt>~./zul/css/zk.wcs</tt>).
  
 
<source lang="xml" >
 
<source lang="xml" >
Line 13: Line 13:
 
  </desktop-config>
 
  </desktop-config>
 
</source>
 
</source>
 +
 +
You rarely need it. Rather, implementing [[ZK Developer's Reference/Theming and Styling/Theme Providers|a theme provider]] is a more controllable alternative.
  
 
It is usually used with the <tt>theme-uri</tt> element to replace the default theme. Please refer to [[ZK Developer's Reference/Theming and Styling/Theme Customization|ZK Developer's Reference]] for more details about theming and styling.
 
It is usually used with the <tt>theme-uri</tt> element to replace the default theme. Please refer to [[ZK Developer's Reference/Theming and Styling/Theme Customization|ZK Developer's Reference]] for more details about theming and styling.
 
Also notice that implementing [[ZK Developer's Reference/Theming and Styling/Theme Providers|a theme provider]] is a more controllable alternative.
 
  
 
=Version History=
 
=Version History=

Revision as of 08:32, 4 August 2011


The disable-theme-uri Element


Syntax:

<disable-theme-uri>a_theme_uri</disable-theme-uri>
[Default: none]

It specifies what theme URI to be disabled. The URI shall be one of the URIs generated by the current theme. For example, the following statement disables the generation of the URIs of the default theme (since it has only one URI: ~./zul/css/zk.wcs).

 <desktop-config>
     <disable-theme-uri>~./zul/css/zk.wcs</disable-theme-uri>
 </desktop-config>

You rarely need it. Rather, implementing a theme provider is a more controllable alternative.

It is usually used with the theme-uri element to replace the default theme. Please refer to ZK Developer's Reference for more details about theming and styling.

Version History

Last Update : 2011/08/04


Version Date Content
     


Last Update : 2011/08/04

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