Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The simple theme provides the renders "bare bones" HTML element support and is considered the low end of the structure and can be to build additional functionality or behavior (see elements. The simple theme is most often used as a starting point for other themes. (See Extending Themes for more information.) .

For example, the textfield tag renders the HTML <input/> tag without any additional labelsa label, validation, error reporting, or anything else. If you require additional behavior, see the xhtml theme.or any other formatting or functionality.

Tip

The Both the xhtml theme and css_xhtml theme both directly extend this the simple theme. Look to them for examples of how to utilize the basics provided by this theme.

While most of the templates in this theme are self explanatory, there are some templates that should be called out and explained in detail:

build on the foundation laid by the simple theme.

Head Tag

The simple theme head template prints out an HTML <link/> to the CSS required for the datepicker tag to render properly.

The source of the simple head.ftl template is:

Wiki Markup
{snippet:id=all|lang=xml|url=webwork/src/java/template/simple/head.ftl}

...