<skin:skin>

Sets up the request and response, then writes all of the HTML preceding and following the content of the page.

Tag Information

Tag Class: com.aoindustries.website.skintags.SkinTag
TagExtraInfo Class: com.aoindustries.website.skintags.SkinTagTEI
Body Content: JSP
Display Name: None

Attributes

Name Required Evaluation Type Description
serialization No Runtime String

When SGML, forces the content-type to be text/html. When XML, forces the content-type to be application/xhtml+xml. When auto (the default), the following steps are performed to resolve the serialization:

  1. Use the serialization active on the current request.
  2. Use the application context-param com.aoindustries.html.Serialization.default that allows an application to control the selection of HTML versus XHTML.
  3. When this context-param is unspecified or auto, determine the serialization based on the client's Accept header.

This should normally be left with the default value of auto. This is used when the content is known to contain invalid markup that can not be parsed as XML.

doctype No Runtime String

The <!DOCTYPE> to use, must be one of default, HTML5, STRICT, TRANSITIONAL, FRAMESET, or NONE. Defaults to HTML5. NONE will suppress the output of a doctype.

When default, the following steps are performed to resolve the doctype:

  1. Use the doctype active on the current request.
  2. Use the application context-param com.aoindustries.html.Doctype.default that allows an application to control the default doctype.
  3. When this context-param is unspecified or default, defaults to HTML5.
layout No Runtime String

Each page may request a specific layout from the skin implementation. The currently support values are:

  • normal - This provides headers, footers, and full navigation. This is the default layout if no layout is specified.
  • minimal - This provides a minimal layout without any page navigation except headers and footers. This provides maximum area for the page content while still maintaining a consistent look and feel.
onload No Runtime String

The JavaScript that will be placed in the onload attribute of the body tag.

Variables

No Variables Defined.