com.acsinet_solutions.cetia4.tags
Class ComboTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by com.acsinet_solutions.cetia4.tags.support.LogBodyTagSupport
              extended by com.acsinet_solutions.cetia4.tags.ComboTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally

public final class ComboTag
extends LogBodyTagSupport

Implementation of a tag that displays a dynamic HTML SELECT component

Author:
Santiago Arriaga
See Also:
Serialized Form

Field Summary
 
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
ComboTag()
           
 
Method Summary
 int doEndTag()
          Writes the tag info and clears state.
 void setCatalog(java.lang.Object catalog)
          Sets the catalog.
 void setEnabled(java.lang.Object enabled)
          Sets the enabled flag
 void setName(java.lang.String name)
          Sets the name.
 void setSelected(java.lang.Object selected)
          Sets the selected combo value.
 
Methods inherited from class com.acsinet_solutions.cetia4.tags.support.LogBodyTagSupport
doCatch, doFinally, fillDynamicValues, fillDynamicValues, getConfiguration, getDynamicAttributes, getLocale, getLogger, getPortalPath, getRequest, getServletContext, getSession, setDynamicAttribute
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, 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
 

Constructor Detail

ComboTag

public ComboTag()
Method Detail

setCatalog

public void setCatalog(java.lang.Object catalog)
                throws javax.servlet.jsp.JspException
Sets the catalog.

Parameters:
name - The name of the object in any valid scope
Throws:
javax.servlet.jsp.JspException

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - The name of the HTML SELECT tag

setSelected

public void setSelected(java.lang.Object selected)
Sets the selected combo value.

Parameters:
name - The name of the object in any valid scope

setEnabled

public void setEnabled(java.lang.Object enabled)
Sets the enabled flag


doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Writes the tag info and clears state. If a selected field is not provided the parent tag may provide the default value

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class LogBodyTagSupport
Throws:
javax.servlet.jsp.JspException
See Also:
FormTag.hasBeanInfo(String)