|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.SimpleTagSupport
org.apache.tiles.jsp.taglib.DefinitionTag
public class DefinitionTag
Create a definition at runtime.
Create a new definition at runtime. Newly created definition will be available across the entire request.
Constructor Summary | |
---|---|
DefinitionTag()
|
Method Summary | |
---|---|
void |
doTag()
|
String |
getExtends()
Getter for extends property. |
String |
getName()
Getter for name property. |
String |
getPreparer()
Getter for preparer property. |
String |
getRole()
Getter for role property. |
String |
getTemplate()
Getter for template property. |
void |
setExtends(String extendsParam)
Setter for extends property. |
void |
setName(String name)
Setter for name property. |
void |
setPreparer(String preparer)
Setter for preparer property. |
void |
setRole(String role)
Setter for role property. |
void |
setTemplate(String template)
Setter for template property. |
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 |
---|
public DefinitionTag()
Method Detail |
---|
public String getName()
public void setName(String name)
name
- The name of the definition to create. If not specified, an
anonymous definition will be created.public String getTemplate()
public void setTemplate(String template)
template
- The template of this definition.public String getRole()
public void setRole(String role)
role
- A comma-separated list of roles. If present, the definition
will be rendered only if the current user belongs to one of the roles.public String getExtends()
public void setExtends(String extendsParam)
extendsParam
- The definition name that this definition extends.public String getPreparer()
public void setPreparer(String preparer)
preparer
- The preparer to use to invoke before the definition is
rendered.public void doTag() throws JspException, IOException
doTag
in interface SimpleTag
doTag
in class SimpleTagSupport
JspException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |