Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add navigation "scrollbar" macro

Content Type and Markup Output

Tapestry reads well-formed XML template files and renders its output as XML, with minor caveats:

  • The <?xml?> XML declaration is omitted.
  • Most element elements render with an open and close tag, even if empty.
  • Certain elements will be abbreviated to just the open tag, if empty:
    • br
    • hr
    • img
  • <![CDATA[]> sections are not used

...

The character set (aka character encoding) used when writing output and when parsing requests is normally "utf-8". UTF-8 is a version of Unicode where individual characters are encoded as one or more to four 8-bit bytes. Most western language characters (that is, typical ASCII characters) are encoded in a single byte. Accented characters or non-western characters (such as Japanese, Arabic, etc.) may be encoded as two or more bytes.

All In Tapestry, all pages use the same encoding, which . The default is "UTF-8", but this can be set changed using the tapestry.charset configuration settingsymbol.

Scrollbar