info.magnolia.templating.jsp.cms
Class ComponentTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by info.magnolia.templating.jsp.cms.AbstractTag<ComponentElement>
          extended by info.magnolia.templating.jsp.cms.ComponentTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

@Tag(name="component",
     bodyContent=EMPTY)
public class ComponentTag
extends AbstractTag<ComponentElement>

A jsp tag for rendering an arbitrary piece of content.

Version:
$Id$

Constructor Summary
ComponentTag()
           
 
Method Summary
protected  void prepareTemplatingElement(ComponentElement templatingElement)
          Implementations of this method should prepare the TemplatingElement with the known parameters.
 void setContextAttributes(Object contextAttributes)
           
 void setDialog(String dialog)
           
 void setEditable(Boolean editable)
           
 
Methods inherited from class info.magnolia.templating.jsp.cms.AbstractTag
createTemplatingElement, doBody, doTag, getTemplatingElementClass, initContentElement, mandatoryMapConvertor, mapConvertor, setContent, setPath, setUuid, setWorkspace
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentTag

public ComponentTag()
Method Detail

setEditable

@Attribute(required=false,
           rtexprvalue=true)
public void setEditable(Boolean editable)

setDialog

@Attribute(required=false,
           rtexprvalue=true)
public void setDialog(String dialog)

setContextAttributes

@Attribute(required=false,
           rtexprvalue=true)
public void setContextAttributes(Object contextAttributes)

prepareTemplatingElement

protected void prepareTemplatingElement(ComponentElement templatingElement)
                                 throws javax.servlet.jsp.JspException
Description copied from class: AbstractTag
Implementations of this method should prepare the TemplatingElement with the known parameters.

Specified by:
prepareTemplatingElement in class AbstractTag<ComponentElement>
Throws:
javax.servlet.jsp.JspException


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.