Dashboard > WebWork > ... > Themes and Templates > Selecting Themes
  WebWork Log In View a printable version of the current page.  
  Selecting Themes
Added by Patrick Lightbody, last edited by Patrick Lightbody on Jan 07, 2006  (view change)
Labels: 
(None)

Themes can be selected using several different rules, in this order:

  1. The theme attribute on the specific tag
  2. The theme attribute on a tag's surrounding form tag
  3. The page-scoped attribute named theme
  4. The request-scoped attribute named theme
  5. The session-scoped attribute named theme
  6. The application-scoped attribute named theme
  7. The webwork.ui.theme property in webwork.properties (defaults to xhtml)

A few important concepts come from this order:

  • You can override an entire form's theme by only changing the theme attribute for the forum. This makes it easy to use the ajax theme in just a few select places.
  • You can change the theme for a user's session. This might be useful if users can customize their look and feel.
  • If you want to change the theme for the entire application, adjust your webwork.properties.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators