Class LayoutFilePageTag
- java.lang.Object
-
- org.apache.wicket.markup.MarkupElement
-
- org.apache.wicket.markup.ComponentTag
-
- lumis.portal.presentation.core.LayoutFileTag
-
- lumis.portal.presentation.tag.page.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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LayoutFilePageTag(LayoutFileTag tag, boolean dummy)
Creates a new LayoutFilePageTag based on aLayoutFileTag
.protected
LayoutFilePageTag(LayoutFilePageTag tag)
Creates a new LayoutFilePageTag based on another LayoutFilePageTag.LayoutFilePageTag(org.apache.wicket.markup.ComponentTag tag, ILayoutFileComponentFactory factory)
Creates a new LayoutFilePageTag.
-
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 lumis.portal.presentation.core.LayoutFileTag
getComponentFactory
-
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 aLayoutFileTag
.- 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()
istrue
, this tag will callComponent.setRenderBodyOnly(boolean)
withtrue
duringonBeforeRender(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 classorg.apache.wicket.markup.ComponentTag
-
mutable
public LayoutFilePageTag mutable()
- Overrides:
mutable
in classLayoutFileTag
-
-