org.apache.struts.taglib.bean
Class ParameterTag
TagSupport
org.apache.struts.taglib.bean.ParameterTag
public class ParameterTag
extends TagSupport
Define a scripting variable based on the value(s) of the specified
parameter received with this request.
$Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $protected String | id - The name of the scripting variable that will be exposed as a page
scope attribute.
|
protected static MessageResources | messages - The message resources for this package.
|
protected String | multiple - Return an array of parameter values if
multiple is
non-null.
|
protected String | name - The name of the parameter whose value is to be exposed.
|
protected String | value - The default value to return if no parameter of the specified name is
found.
|
id
protected String id
The name of the scripting variable that will be exposed as a page
scope attribute.
messages
protected static MessageResources messages
The message resources for this package.
multiple
protected String multiple
Return an array of parameter values if multiple
is
non-null.
name
protected String name
The name of the parameter whose value is to be exposed.
value
protected String value
The default value to return if no parameter of the specified name is
found.
doStartTag
public int doStartTag()
throws JspException
Retrieve the required property and expose it as a scripting variable.
getId
public String getId()
getMultiple
public String getMultiple()
getName
public String getName()
getValue
public String getValue()
release
public void release()
Release all allocated resources.
setId
public void setId(String id)
setMultiple
public void setMultiple(String multiple)
setName
public void setName(String name)
setValue
public void setValue(String value)
Copyright B) 2000-2007 - The Apache Software Foundation