Class LayoutFilePageTag

  • Direct Known Subclasses:
    RenderHolderTag

    public class LayoutFilePageTag
    extends LayoutFileTag
    Represents built-in tags of the layout file 'page' namespace.
    Since:
    6.0.0
    Version:
    $Revision: 13093 $ $Date: 2011-05-28 18:40:18 -0300 (Sat, 28 May 2011) $
    See Also:
    PageMarkupFilter
    • Field Summary

      • Fields inherited from class org.apache.wicket.markup.ComponentTag

        DEFAULT_WICKET_NAMESPACE, xmlTag
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      LayoutFilePageTag mutable()  
      void onBeforeRender​(org.apache.wicket.Component component, org.apache.wicket.markup.MarkupStream markupStream)  
      protected void setDummy​(boolean dummy)
      Sets whether this is a dummy tag.
      • Methods inherited from class org.apache.wicket.markup.ComponentTag

        addBehavior, closes, enableAutolink, equalTo, getAttribute, getAttributes, getBehaviors, getId, getLength, getMarkupClass, getName, getNameChanged, getNamespace, getOpenTag, getPath, getPos, getString, getType, getUserData, hasBehaviors, hasEqualTagName, hasNoCloseTag, isAutoComponentTag, isAutolinkEnabled, isClose, isIgnore, isModified, isOpen, isOpen, isOpenClose, isOpenClose, makeImmutable, put, put, put, put, putAll, remove, requiresCloseTag, setAutoComponentTag, setHasNoCloseTag, setId, setIgnore, setMarkupClass, setModified, setName, setNamespace, setOpenTag, setType, setUserData, syntheticCloseTagString, toCharSequence, toString, toUserDebugString, writeOutput
    • Constructor Detail

      • LayoutFilePageTag

        public LayoutFilePageTag​(org.apache.wicket.markup.ComponentTag tag,
                                 ILayoutFileComponentFactory factory)
        Creates a new LayoutFilePageTag.
        Parameters:
        tag - the tag to be used as base.
        factory - the component factory.
        Since:
        6.0.0
      • LayoutFilePageTag

        protected LayoutFilePageTag​(LayoutFileTag tag,
                                    boolean dummy)
        Creates a new LayoutFilePageTag based on a LayoutFileTag.
        Parameters:
        tag - the LayoutFileTag.
        dummy - the value for dummy property.
        Since:
        6.0.0
      • LayoutFilePageTag

        protected LayoutFilePageTag​(LayoutFilePageTag tag)
        Creates a new LayoutFilePageTag based on another LayoutFilePageTag.
        Parameters:
        tag - the LayoutFilePageTag.
        Since:
        6.0.0
    • Method Detail

      • setDummy

        protected void setDummy​(boolean dummy)
        Sets whether this is a dummy tag.

        Dummy tags should have only their body rendered, since they are intended to be used as a place-holder for a HTML fragment with no root element. If this tag is dummy and LayoutFileApplication.getStripLayoutFileTags() is true, this tag will call Component.setRenderBodyOnly(boolean) with true during onBeforeRender(Component, MarkupStream).

        Parameters:
        dummy - whether this is a dummy tag.
        Since:
        6.0.0
      • onBeforeRender

        public void onBeforeRender​(org.apache.wicket.Component component,
                                   org.apache.wicket.markup.MarkupStream markupStream)
        Overrides:
        onBeforeRender in class org.apache.wicket.markup.ComponentTag