com.tonbeller.wcf.component
Class RendererParameterTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.jstl.core.ConditionalTagSupport
com.tonbeller.wcf.component.RendererParameterTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class RendererParameterTag
- extends javax.servlet.jsp.jstl.core.ConditionalTagSupport
Adds an XSL parameter for the transformation. If used inside a
render tag, the parameter is local to that transformation. Otherwise
the scope attribute specifies the scope of the parameter, legal values
are "request" (default), "session" and "application".
The value may be provided as literal, or as expression (starting with "${").
- Author:
- av
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Method Summary |
protected boolean |
condition()
|
int |
doStartTag()
adds a parameter to the parent RendererTag (local) or to the
session-global xsl parameter map. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setScope(java.lang.String string)
|
void |
setTest(java.lang.String test)
|
void |
setValue(java.lang.String value)
Sets the value. |
Methods inherited from class javax.servlet.jsp.jstl.core.ConditionalTagSupport |
release, setVar |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RendererParameterTag
public RendererParameterTag()
setTest
public void setTest(java.lang.String test)
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- adds a parameter to the parent RendererTag (local) or to the
session-global xsl parameter map.
- Throws:
javax.servlet.jsp.JspException
setName
public void setName(java.lang.String name)
- Sets the name.
- Parameters:
name
- The name to set
setValue
public void setValue(java.lang.String value)
- Sets the value.
- Parameters:
value
- The value to set
setScope
public void setScope(java.lang.String string)
- Parameters:
string
-
condition
protected boolean condition()
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException