Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.aendvari.tethys.tag.html
Class OptionsTag  view OptionsTag download OptionsTag.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.aendvari.tethys.tag.data.DataBodyTag
              extended bycom.aendvari.tethys.tag.context.ContextBodyTag
                  extended bycom.aendvari.tethys.tag.model.ModelTreeBodyTag
                      extended bycom.aendvari.tethys.tag.html.OptionsTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, com.aendvari.tethys.tag.context.ContextAncestorTag, com.aendvari.tethys.tag.data.DataAncestorTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, com.aendvari.tethys.tag.model.ModelTreeAncestorTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class OptionsTag
extends com.aendvari.tethys.tag.model.ModelTreeBodyTag

Used to create HTML option tags from a collection.


Field Summary
private  java.lang.String labelPath
          The path to the option label.
private  java.lang.String valuePath
          The path to the option value.
 
Fields inherited from class com.aendvari.tethys.tag.model.ModelTreeBodyTag
modelContext, modelContextMethod, path
 
Fields inherited from class com.aendvari.tethys.tag.context.ContextBodyTag
context
 
Fields inherited from class com.aendvari.tethys.tag.data.DataBodyTag
dataScope, name
 
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
OptionsTag()
           
 
Method Summary
 int doEndTag()
          Default processing of the end tag returning EVAL_PAGE.
 int doStartTag()
          Default processing of the start tag returning EVAL_BODY_BUFFERED.
 java.lang.String getLabelPath()
           
 java.lang.String getValuePath()
           
 void release()
          Release all allocated resources.
 void setLabelPath(java.lang.String param)
           
 void setValuePath(java.lang.String param)
           
 
Methods inherited from class com.aendvari.tethys.tag.model.ModelTreeBodyTag
establishModelContext, getModelContext, getModelNode, getParentModelContext, getPath, setPath
 
Methods inherited from class com.aendvari.tethys.tag.context.ContextBodyTag
determineContext, getContext, getParentContext, setContext
 
Methods inherited from class com.aendvari.tethys.tag.data.DataBodyTag
getDataScope, getName, setDataScope, setName
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, 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

labelPath

private java.lang.String labelPath
The path to the option label.


valuePath

private java.lang.String valuePath
The path to the option value.

Constructor Detail

OptionsTag

public OptionsTag()
Method Detail

getLabelPath

public java.lang.String getLabelPath()

setLabelPath

public void setLabelPath(java.lang.String param)

getValuePath

public java.lang.String getValuePath()

setValuePath

public void setValuePath(java.lang.String param)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Description copied from class: javax.servlet.jsp.tagext.BodyTagSupport
Default processing of the start tag returning EVAL_BODY_BUFFERED.


doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Description copied from class: javax.servlet.jsp.tagext.BodyTagSupport
Default processing of the end tag returning EVAL_PAGE.


release

public void release()
Description copied from class: com.aendvari.tethys.tag.model.ModelTreeBodyTag
Release all allocated resources.