Class HtmlHeaderSectionHandler

  • All Implemented Interfaces:
    IMarkupFilter

    public final class HtmlHeaderSectionHandler
    extends AbstractMarkupFilter
    This is a markup inline filter.

    It assumes that WicketTagIdentifier has been called first and search for a <head> tag (note: not wicket:head). Provided the markup contains a <body> tag it will automatically prepend a <head> tag if missing.

    Additionally this filter handles <wicket:header-items/>. If there is such tag then it is marked as the one that should be used as HtmlHeaderContainer, by setting its id to "_header_".

    Note: This handler is only relevant for Pages (see MarkupParser.newFilterChain())

    Author:
    Juergen Donnerstag
    See Also:
    MarkupParser, HtmlHeaderResolver