Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: removed oddity and minor cleanup. Really, FAQ entry should point here, no?

...

  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 NoteFind out how to do this on the "Can I change theme on a per-page basis" page. Just set the scope attribute to "page", "request", "session" or "application".
  7. The struts.ui.theme property in struts.properties (defaults to xhtml)

See "Can I change theme on a per-page basis" page for using scoped "theme" attribute.

Tips

  • To override an entire form's theme, just change the "theme" attribute for of the form. (Convenient for using the ajax theme for select specific forms, for example.)
  • To support user-selected "shttp://confluence.twdata.org/pages/editpage.action?pageId=723#
    Wiki Markupkins", override themes, set the theme in the user's session.
  • To change the theme for the entire application, modify the struts.properties.