org.loom.tags.core
Class ParamTag
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
org.loom.tags.AbstractTag
org.loom.tags.core.ParamTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag, LoomTag
@Tag(dynamicAttributes=true,
bodyContent=EMPTY,
example="<l:url action=\"BlogEntries\" event=\"open\">\n <l:param name=\"id\" value=\"1\"/>\n <l:param property=\"entity.id\"/>\n</l:url>\n<l:url action=\"BlogEntries\" event=\"open\" param-id=\"1\"/>\n")
public class ParamTag- extends AbstractTag
A parameter (name/value pair) to be added to the URL created by a ParameterContainer.
Examples of ParameterContainer are url, tab, form and almost anything that
can generate a link.
It's usually just easier to use a param-[paramName]=[paramValue] in the container tag.
|
Method Summary |
void |
doTagImpl()
The method that must be implemented by the child class |
protected java.lang.String |
getName()
|
protected java.lang.Object |
getValue()
|
void |
setName(java.lang.String name)
|
void |
setProperty(java.lang.String property)
|
void |
setValue(java.lang.String value)
|
| Methods inherited from class org.loom.tags.AbstractTag |
createWriterWrapper, doBody, doBufferedBody, doTag, endTag, evaluateExpression, getActionProperty, getAncestorWithClass, getBufferedBody, getExtendedAttributes, getMessagesRepository, getPageContext, getRequest, getResponse, getScopedAttribute, getWriter, initTag, printParentAttributes, removeScopedAttribute, setDynamicAttribute, setExtendedAttribute, setJspContext, setRequest, setResponse, setScopedAttribute, setWriter |
| Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParamTag
public ParamTag()
doTagImpl
public void doTagImpl()
throws javax.servlet.jsp.JspException,
java.io.IOException
- Description copied from class:
AbstractTag
- The method that must be implemented by the child class
- Specified by:
doTagImpl in class AbstractTag
- Throws:
javax.servlet.jsp.JspException
java.io.IOException
getName
protected java.lang.String getName()
getValue
protected java.lang.Object getValue()
setName
public void setName(java.lang.String name)
setValue
public void setValue(java.lang.String value)
setProperty
public void setProperty(java.lang.String property)