public class SymbolTag
extends javax.servlet.jsp.tagext.TagSupport
This Tag is used to add replacement symbols to the Clay
component.
Replacement symbols are substituted within the meta-data used to build the subtree
under the Clay component. This tag is similar to the standard JSF attribute tag.
The name
attribute will be prepended with an '@' character.
The "at" character is the symbol identifier.
Constructor and Description |
---|
SymbolTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Finds the parent component and adds the symbol to the
Clay component's symbol table.
|
String |
getName()
Returns the name of the symbol.
|
String |
getValue()
Returns the value for the symbol.
|
void |
setName(String name)
Sets the
name of the symbol. |
void |
setValue(String value)
Sets the
value for the symbol. |
public String getName()
Returns the name of the symbol.
public void setName(String name)
Sets the name
of the symbol.
name
- of the symbolpublic String getValue()
Returns the value for the symbol.
public void setValue(String value)
Sets the value
for the symbol.
value
- of the symbolpublic int doStartTag() throws javax.servlet.jsp.JspException
Finds the parent component and adds the symbol to the
Clay component's symbol table. The parent has to be a Clay
component.
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
- general JSP tagCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.