Parameter Class

com.bea.wlw.netui.tags.html
Parameter Class

public class Parameter

    extends AbstractBaseTag

Writes a URL parameter to a URL on its parent tag. The parent tag must implement URLParams.

Attribute Descriptions
AttributeRequiredRuntime Expression Evaluation Data Bindable
nameYesNoNo
The name of the parameter.
valueYesNoRead Only
A literal value or an expression that resolves to a bean property.

Related Topics

<netui:parameter> Tag Sample
ParameterMap


Hierarchy
Object
  TagSupport
    BodyTagSupport
      AbstractBaseTag
        Parameter
All Implemented Interfaces

BodyTag, IterationTag, Serializable, Tag

Field Summary

protected String
name
String
protected Object
paramValue
Object
protected String
value
String
   
Fields from  com.bea.wlw.netui.tags.AbstractBaseTag
ATTR_GENERAL, ATTR_GENERAL_EXPRESSION, ATTR_JAVASCRIPT, ATTR_STYLE, CLASS, ID, JAVASCRIPT_STATUS, NAME, NETUI_UNIQUE_CNT, ONCLICK, ONDBLCLICK, ONKEYDOWN, ONKEYPRESS, ONKEYUP, ONMOUSEDOWN, ONMOUSEMOVE, ONMOUSEOUT, ONMOUSEOVER, ONMOUSEUP, STYLE, TABINDEX
 
Fields from  javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields from  javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 

Constructor Summary

Parameter()

 

Method Summary

public int
doStartTag()
Add the URL parameter to the Parameter's parent.
public String
getName()
Gets the name of the URL parameter.
public String
getTagName()
Return the name of the Tag.
public String
getValue()
Gets the value of the URL parameter.
protected void
localRelease()
Release any acquired resources.
public void
setName(String name)
Sets the name of the URL parameter.
public void
setValue(String value)
Sets the value of the URL parameter.
 
Methods from  com.bea.wlw.netui.tags.AbstractBaseTag
addTagIdMapping, evaluateAttributeToString, filter, filter, getJavaScriptUtils, getNearestForm, getScriptReporter, getUserLocale, registerTagError, release, renderAttribute, rewriteName, write
 
Methods from  javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods from  javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface javax.servlet.jsp.tagext.BodyTag
doInitBody, setBodyContent
 
Methods from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 

Field Detail

name

protected String name


paramValue

protected Object paramValue


value

protected String value

 

Constructor Detail

Parameter

public Parameter()
 

Method Detail

doStartTag() Method

public int doStartTag()
throws JspException
Add the URL parameter to the Parameter's parent.

Overrides
BodyTagSupport.doStartTag()

Exceptions

JspException
if a JSP exception has occurred

getName() Method

public String getName()
Gets the name of the URL parameter.

Returns

the parameter name.

getTagName() Method

public String getTagName()
Return the name of the Tag.

Overrides
AbstractBaseTag.getTagName()

getValue() Method

public String getValue()
Gets the value of the URL parameter.

Returns

the parameter value.

localRelease() Method

protected void localRelease()
Release any acquired resources.

Overrides
AbstractBaseTag.localRelease()

setName(String) Method

public void setName(String name)
Sets the name of the URL parameter.

Parameters

name
- the parameter name.

setValue(String) Method

public void setValue(String value)
Sets the value of the URL parameter. This can be an expression.

Parameters

value
- the parameter value.