The disable-theme-uri Element"

From Documentation
m
m (correct highlight (via JWB))
 
(2 intermediate revisions by 2 users not shown)
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 needs to be disabled. The URI should 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: <code>~./zul/css/zk.wcs</code>).
  
 
<source lang="xml" >
 
<source lang="xml" >
Line 14: Line 14:
 
</source>
 
</source>
  
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.
+
You rarely need it. Rather, implementing [[ZK Developer's Reference/Theming and Styling/Theme Providers|a theme provider]] is a more controllable alternative.
  
Also notice that implementing [[ZK Developer's Reference/Theming and Styling/Theme Providers|a theme provider]] is a more controllable alternative.
+
It is usually used with the <code>theme-uri</code> 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.
  
 
=Version History=
 
=Version History=

Latest revision as of 10:19, 19 January 2022


The disable-theme-uri Element


Syntax:

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

It specifies what theme URI needs to be disabled. The URI should 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 : 2022/01/19


Version Date Content
     


Last Update : 2022/01/19

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