WebObjects 5.2.4

com.webobjects.jspservlet
Class WOBindingTag

java.lang.Object
  extended byTagSupport
      extended bycom.webobjects.jspservlet.WOBindingTag

public class WOBindingTag
extends TagSupport

This is a sub-tag of WOComponentTag used to pass bindings. WebObjects supports the use of WOComponents in JSP through the use of a Tag Library. While WOComponentTag specifies the WOComponent that is used in a JSP, this specifies the key-value pair to be passed to the WOComponent as a binding. This tag has no body but has the following attributes:

See Also:
WOComponent, WOComponentTag, Serialized Form

Constructor Summary
WOBindingTag()
           
 
Method Summary
 int doStartTag()
          Standard method to start using the tag.
 void setKey(String key)
          Sets the attribute key for this tag.
 void setValue(Object value)
          Sets the attribute value for this tag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WOBindingTag

public WOBindingTag()
Method Detail

doStartTag

public int doStartTag()
               throws JspException
Standard method to start using the tag. Calls its parent WOComponentTag to set key-value binding.

Returns:
SKIP_BODY, as this tag has no body.
Throws:
JspException
See Also:
WOComponentTag

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 binding

setValue

public void setValue(Object 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. Can be any kind of Object.

Parameters:
value - the value of the binding

Last updated Wed May 25 10:47:15 PDT 2005.

Copyright © 2005 Apple Computer, Inc.