|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.myfaces.tobago.taglib.extension.TimeExtensionTag
public class TimeExtensionTag
Renders a time input field with a label.
Short syntax of:
<tc:panel>
<f:facet name="layout">
<tc:gridLayout columns="fixed;*"/>
</f:facet>
<tc:label value="#{label}" for="@auto"/>
<tc:time value="#{value}">
...
</tc:in>
</tc:panel>
| 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 | |
|---|---|
TimeExtensionTag()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
|
int |
doStartTag()
|
void |
release()
|
void |
setBinding(String binding)
The value binding expression linking this component to a property in a backing bean. |
void |
setConverter(String converter)
An expression that specifies the Converter for this component. |
void |
setDisabled(String disabled)
Flag indicating that this element is disabled. |
void |
setFocus(String focus)
Flag indicating this component should recieve the focus. |
void |
setInline(String inline)
Flag indicating this component should rendered as an inline element. |
void |
setLabel(String label)
Text value to display as label. |
void |
setLabelWidth(String labelWidth)
The width for the label component. |
void |
setOnchange(String onchange)
Clientside script function to add to this component's onchange handler. |
void |
setReadonly(String readonly)
Flag indicating that this component will prohibit changes by the user. |
void |
setRendered(String rendered)
Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. |
void |
setRequired(String required)
Flag indicating that a value is required. |
void |
setTabIndex(String tabIndex)
Controls the navigation of the focus through the input controls on a page with the Tab-Key. |
void |
setTip(String tip)
Text value to display as tooltip. |
void |
setValidator(String validator)
A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value. |
void |
setValue(String value)
The current value of this component. |
void |
setValueChangeListener(String valueChangeListener)
MethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. |
| 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 org.apache.myfaces.tobago.taglib.decl.HasId |
|---|
setId |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
getParent, setPageContext, setParent |
| Constructor Detail |
|---|
public TimeExtensionTag()
| Method Detail |
|---|
public int doStartTag()
throws JspException
doStartTag in interface TagdoStartTag in class BodyTagSupportJspException
public int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class BodyTagSupportJspExceptionpublic void release()
release in interface Tagrelease in class BodyTagSupportpublic void setValue(String value)
HasValue
setValue in interface HasValuepublic void setValueChangeListener(String valueChangeListener)
HasValueChangeListener
setValueChangeListener in interface HasValueChangeListenerpublic void setLabel(String label)
HasLabel
setLabel in interface HasLabelpublic void setFocus(String focus)
IsFocus
setFocus in interface IsFocuspublic void setBinding(String binding)
HasBinding
setBinding in interface HasBindingpublic void setRendered(String rendered)
IsRendered
setRendered in interface IsRenderedpublic void setConverter(String converter)
HasConverter
setConverter in interface HasConverterpublic void setValidator(String validator)
HasValidator
setValidator in interface HasValidatorpublic void setOnchange(String onchange)
HasOnchange
setOnchange in interface HasOnchangepublic void setInline(String inline)
IsInline
setInline in interface IsInlinepublic void setReadonly(String readonly)
IsReadonly
setReadonly in interface IsReadonlypublic void setDisabled(String disabled)
IsDisabled
setDisabled in interface IsDisabledpublic void setRequired(String required)
IsRequired
setRequired in interface IsRequiredpublic void setTip(String tip)
HasTip
setTip in interface HasTippublic void setLabelWidth(String labelWidth)
HasLabelWidth
setLabelWidth in interface HasLabelWidthpublic void setTabIndex(String tabIndex)
HasTabIndex
setTabIndex in interface HasTabIndex
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||