com.arsdigita.bebop.jsp
Class DefineOptionGroup

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.arsdigita.bebop.jsp.DefineComponent
              extended bycom.arsdigita.bebop.jsp.DefineContainer
                  extended bycom.arsdigita.bebop.jsp.DefineOptionGroup
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
DefineCheckboxGroup, DefineMultipleSelect, DefineRadioGroup, DefineSelect

public abstract class DefineOptionGroup
extends DefineContainer

superclass for Define... classes that create option groups, so the nested define:option tags add the Options to the OptionGroup. We do all the work for all OptionGroups here, and define an abstract method "createOptionGroup" to create the specific optionGroup we need.

Author:
Bill Schneider
See Also:
Serialized Form

Field Summary
static String versionId
           
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
 
Constructor Summary
DefineOptionGroup()
           
 
Method Summary
 int doStartTag()
           
 Component getComponent()
           
 void setOnChange(String code)
           
 void setOnSelect(String code)
           
 
Methods inherited from class com.arsdigita.bebop.jsp.DefineContainer
addComponent, doAfterBody
 
Methods inherited from class com.arsdigita.bebop.jsp.DefineComponent
getName, getParentTag, setName
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

DefineOptionGroup

public DefineOptionGroup()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class DefineComponent
Throws:
javax.servlet.jsp.JspException

getComponent

public Component getComponent()
Specified by:
getComponent in class DefineComponent

setOnSelect

public void setOnSelect(String code)

setOnChange

public void setOnChange(String code)


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC