|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport mx.com.brained.taglib.ComboGridElement
public class ComboGridElement
Title: AwTaglib
Description: ComboBox Grid Element Tag
Copyright: Copyright (c) 2005
Company: Brain-ED
Field Summary |
---|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
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 | |
---|---|
ComboGridElement()
|
Method Summary | |
---|---|
int |
doStartTag()
This method renders the combobox based on the properties set |
java.lang.String |
getAction()
Get the action to be called when the combobox changes its value |
java.lang.String |
getBundle()
Return the bundle to which the key belongs to |
java.lang.String |
getHiddenValues()
|
protected java.util.Iterator |
getIterator(java.lang.String name,
java.lang.String property)
|
java.lang.String |
getLabelProperty()
Get the property to be rendered as the label of the combobox option |
java.lang.String |
getLabelValue()
Sets the property to be rendered as the value of the combobox option |
java.lang.String |
getLocale()
Return the locale that was set |
java.lang.String |
getName()
Returns the name of the bean containing the value to be rendered |
java.lang.String |
getOptions()
Get the name of the array containing the beans to be rendered as options in the combobox |
java.lang.String |
getProperty()
Return the property of the bean rendered as a combobox |
java.lang.String |
getTitle()
Return the resource bundle key to be rendered as the header |
void |
release()
Reset the properties to be reused |
void |
setAction(java.lang.String action)
Set the action to be called when the combobox changes its value |
void |
setBundle(java.lang.String bundle)
Set the bundle to which the key belongs to |
void |
setHiddenValues(java.lang.String hiddenValue)
If true, the value will be hidden to the user until submit time |
void |
setLabelProperty(java.lang.String labelProperty)
Sets the property to be rendered as the label of the combobox option |
void |
setLabelValue(java.lang.String labelValue)
Sets the property to be rendered as the value of the combobox option |
void |
setLocale(java.lang.String locale)
Set the locale to be rendered |
void |
setName(java.lang.String name)
Set the name of the bean containing the value to be rendered |
void |
setOptions(java.lang.String options)
Sets the array containing the beans to be rendered as options in the combobox |
void |
setProperty(java.lang.String property)
Set the property of the bean rendered as a combobox |
void |
setTitle(java.lang.String title)
Set the resource bundle key to be rendered as the header |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, doEndTag, 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 |
Constructor Detail |
---|
public ComboGridElement()
Method Detail |
---|
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public void setName(java.lang.String name)
name
- Stringpublic void setProperty(java.lang.String property)
property
- Stringpublic void setTitle(java.lang.String title)
title
- Stringpublic void setBundle(java.lang.String bundle)
bundle
- Stringpublic void setLocale(java.lang.String locale)
locale
- Stringpublic void setAction(java.lang.String action)
action
- Stringpublic void setOptions(java.lang.String options)
options
- Stringpublic void setLabelProperty(java.lang.String labelProperty)
labelProperty
- Stringpublic void setLabelValue(java.lang.String labelValue)
labelValue
- Stringpublic void setHiddenValues(java.lang.String hiddenValue)
hiddenValue
- Stringpublic java.lang.String getName()
public java.lang.String getProperty()
public java.lang.String getTitle()
public java.lang.String getBundle()
public java.lang.String getLocale()
public java.lang.String getAction()
public java.lang.String getOptions()
public java.lang.String getLabelProperty()
public java.lang.String getLabelValue()
public java.lang.String getHiddenValues()
protected java.util.Iterator getIterator(java.lang.String name, java.lang.String property) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |