org.mentawai.tag.html
Class Select

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.mentawai.tag.util.PrintTag
              extended by org.mentawai.tag.html.HTMLTag
                  extended by org.mentawai.tag.html.Select
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class Select
extends HTMLTag

Author:
Sergio Oliveira
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mentawai.tag.html.HTMLTag
cript
 
Fields inherited from class org.mentawai.tag.util.PrintTag
action, application, loc, maxToPrint, noHTML, req, res, session
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
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
Select()
           
Select(javax.servlet.http.HttpSession session)
          Constructor for test
 
Method Summary
protected  StringBuffer buildTag()
           
 String getStringToPrint()
          Override this method to return what you want to print in the screen.
 boolean isInPlaceTagIntegration()
          Este metodo verifica se esta tag esta dentro da tag inplace caso esteja, retorna true e nao printa a tag, e apenas passa os parametros para a tag inplace
 void setDefEmptyFieldValue(String defEmptyFieldValue)
           
 void setDefValue(String defValue)
           
 void setEmptyField(boolean emptyField)
           
 void setEmptyFieldValue(String emptyFieldValue)
           
 void setId(String id)
           
 void setKlass(String klass)
           
 void setList(String listname)
           
 void setMultiple(boolean multiple)
           
 void setName(String name)
           
 void setNoSelect(boolean noSelect)
           
 void setSize(int size)
           
 void setStyle(String style)
           
 
Methods inherited from class org.mentawai.tag.html.HTMLTag
contains, contains, findObject, findObject, findValue, findValue, findValues, findValues, getExtraAttributes, processCriptedName, processCriptValue, setCript, setExtra, setSeparator
 
Methods inherited from class org.mentawai.tag.util.PrintTag
doEndTag, doStartTag, getBody, getBooleanValue, getSessionObj, getValue, getValue, getValue, getValue, getValue, setMax, setNoHTML
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValues, removeValue, 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

Select

public Select()

Select

public Select(javax.servlet.http.HttpSession session)
Constructor for test

Parameters:
session -
Method Detail

setName

public void setName(String name)

setList

public void setList(String listname)

setNoSelect

public void setNoSelect(boolean noSelect)

setEmptyFieldValue

public void setEmptyFieldValue(String emptyFieldValue)

setDefEmptyFieldValue

public void setDefEmptyFieldValue(String defEmptyFieldValue)

setSize

public void setSize(int size)

setEmptyField

public void setEmptyField(boolean emptyField)

setKlass

public void setKlass(String klass)

setStyle

public void setStyle(String style)

setId

public void setId(String id)
Overrides:
setId in class javax.servlet.jsp.tagext.TagSupport

setMultiple

public void setMultiple(boolean multiple)

setDefValue

public void setDefValue(String defValue)

buildTag

protected StringBuffer buildTag()

isInPlaceTagIntegration

public boolean isInPlaceTagIntegration()
                                throws javax.servlet.jsp.JspException
Este metodo verifica se esta tag esta dentro da tag inplace caso esteja, retorna true e nao printa a tag, e apenas passa os parametros para a tag inplace

Returns:
boolean true if inner InPlaceTag
Throws:
javax.servlet.jsp.JspException
Exception

getStringToPrint

public String getStringToPrint()
                        throws javax.servlet.jsp.JspException
Description copied from class: PrintTag
Override this method to return what you want to print in the screen.

Specified by:
getStringToPrint in class PrintTag
Returns:
The string to print.
Throws:
javax.servlet.jsp.JspException


Copyright © 2013. All Rights Reserved.