lumis.portal.presentation.tag.page
Class LayoutFilePageTag

Package class diagram package LayoutFilePageTag
java.lang.Object
  extended by org.apache.wicket.markup.MarkupElement
      extended by org.apache.wicket.markup.ComponentTag
          extended by lumis.portal.presentation.core.LayoutFileTag
              extended by 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
See Also:
PageMarkupFilter

Field Summary
 
Fields inherited from class org.apache.wicket.markup.ComponentTag
DEFAULT_WICKET_NAMESPACE, xmlTag
 
Constructor Summary
  LayoutFilePageTag(org.apache.wicket.markup.ComponentTag tag, ILayoutFileComponentFactory factory)
          Creates a new LayoutFilePageTag.
protected LayoutFilePageTag(LayoutFilePageTag tag)
          Creates a new LayoutFilePageTag based on another LayoutFilePageTag.
protected LayoutFilePageTag(LayoutFileTag tag, boolean dummy)
          Creates a new LayoutFilePageTag based on a LayoutFileTag.
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

mutable

public LayoutFilePageTag mutable()
Overrides:
mutable in class LayoutFileTag


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.