com.webobjects.jspservlet
Class WOFormValueTag
com.webobjects.jspservlet.WOFormValueTag
- public class WOFormValueTag
This is a sub-tag of WODirectActionTag used to pass form values.
WebObjects supports the use of DirectActions in JSP through
the use of a Tag Library. While WODirectActionTag specifies
the DirectAction that is used in a JSP, this specifies the key-value
pair to be passed to the Direct Action as a form value in a query string.
This tag has no body but has the following attributes:
- key. The key of the binding. Required.
- value. The value of the binding. Required.
- See Also:
WODirectAction
,
WODirectActionTag
Method Summary |
int |
doStartTag()
Standard method to start using the tag. |
void |
setKey(String key)
Sets the attribute key for this tag. |
void |
setValue(String value)
Sets the attribute value for this tag. |
WOFormValueTag
public WOFormValueTag()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Standard method to start using the tag. Calls its parent
WODirectActionTag to set key-value binding.
- Returns:
- SKIP_BODY, as this tag has no body.
- See Also:
WODirectActionTag
setKey
public void setKey(String key)
- Sets the attribute
key
for this tag. See the class description
for more details. This is called by the servlet container framework to pass in
the value given the JSP.
- Parameters:
key
- the key of the form value
setValue
public void setValue(String value)
- Sets the attribute
value
for this tag. See the class description
for more details. This is called by the servlet container framework to pass in
the value given the JSP.
- Parameters:
value
- the value of the form value
Copyright © 2003 Apple Computer, Inc.