theme-uri
elements in web.xml). When a desktop is about to be rendered, {@link #getThemeURIs} willbe called to allow developer to rename, add or remove CSS/WCS files.
When loading each WCS (Widget CSS descriptor) file (excluding CSS files), {@link #beforeWCS}will be called to allow developer to rename or remove the WCS file.
When a WCS file is about to load the CSS file of a widget, {@link #beforeWidgetCSS} will be called to allow developer to renameor remove the CSS file associated with a widget.
To allow the client to cache the WCS file, you can inject a special fragment into the URI of the WCS file such that a different URI represents a different theme. To inject, you can use @{link Aide#injectURI} when preprocessing URIs in {@link #getThemeURIs}. Therefore, we can rertrieve the injected fragment in {@link #beforeWCS}by use of {@link Aide#decodeURI}. @author tomyeh @since 3.0.0
|
|
|
|