|
||||||||||
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.internal.taglib.extension.TobagoExtensionBodyTagSupport
org.apache.myfaces.tobago.internal.taglib.extension.DateExtensionTag
public class DateExtensionTag
Renders a date input field with a date picker and a label.
Short syntax of:
<tc:panel> <f:facet name="layout"> <tc:gridLayout columns="auto;*"/> </f:facet> <tc:label value="#{label}" for="@auto"/> <tc:date value="#{value}"> ... </tc:in> </tc:panel>
Field Summary |
---|
Fields inherited from class org.apache.myfaces.tobago.internal.taglib.extension.TobagoExtensionBodyTagSupport |
---|
PREFIX |
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 | |
---|---|
DateExtensionTag()
|
Method Summary | |
---|---|
int |
doEndTag()
|
int |
doStartTag()
|
void |
release()
|
void |
setBinding(javax.el.ValueExpression binding)
The value binding expression linking this component to a property in a backing bean. |
void |
setConverter(javax.el.ValueExpression converter)
An expression that specifies the Converter for this component. |
void |
setConverterMessage(javax.el.ValueExpression converterMessage)
An expression that specifies the converter message |
void |
setDisabled(javax.el.ValueExpression disabled)
Flag indicating that this element is disabled. |
void |
setFieldId(String fieldId)
The component identifier for the input field component inside of the container. |
void |
setFocus(javax.el.ValueExpression focus)
Flag indicating this component should receive the focus. |
void |
setFormId(String formId)
The component identifier for the automatically created form component inside of the container. |
void |
setId(String id)
The component identifier for this component. |
void |
setInline(javax.el.ValueExpression inline)
Deprecated. This should be handled by e.g. a flow layout manager (since 1.5.0) |
void |
setLabel(javax.el.ValueExpression label)
Text value to display as label. |
void |
setLabelWidth(javax.el.ValueExpression labelWidth)
The width for the label component. |
void |
setMarkup(javax.el.ValueExpression markup)
Indicate markup of this component. |
void |
setOnchange(javax.el.ValueExpression onchange)
Client side script function to add to this component's onchange handler. |
void |
setPickerId(String pickerId)
The component identifier for the automatically created picker component inside of the container. |
void |
setPlaceholder(javax.el.ValueExpression placeholder)
Displays a short text in the input field, that describes the meaning of this field. |
void |
setReadonly(javax.el.ValueExpression readonly)
Flag indicating that this component will prohibit changes by the user. |
void |
setRendered(javax.el.ValueExpression rendered)
Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. |
void |
setRequired(javax.el.ValueExpression required)
Flag indicating that a value is required. |
void |
setRequiredMessage(javax.el.ValueExpression requiredMessage)
An expression that specifies the required message |
void |
setTabIndex(javax.el.ValueExpression tabIndex)
|
void |
setTip(javax.el.ValueExpression tip)
Text value to display as tooltip. |
void |
setValidator(javax.el.MethodExpression validator)
A method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value. |
void |
setValidatorMessage(javax.el.ValueExpression validatorMessage)
An expression that specifies the validator message |
void |
setValue(javax.el.ValueExpression value)
The current value of this component. |
void |
setValueChangeListener(javax.el.MethodExpression 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 org.apache.myfaces.tobago.internal.taglib.extension.TobagoExtensionBodyTagSupport |
---|
createStringValueExpression, nextJspId, setJspId |
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, 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 |
---|
public DateExtensionTag()
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.BodyTagSupport
javax.servlet.jsp.JspException
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class TobagoExtensionBodyTagSupport
public void setValue(javax.el.ValueExpression value)
public void setValueChangeListener(javax.el.MethodExpression valueChangeListener)
public void setLabel(javax.el.ValueExpression label)
public void setOnchange(javax.el.ValueExpression onchange)
public void setFocus(javax.el.ValueExpression focus)
public void setBinding(javax.el.ValueExpression binding)
public void setRendered(javax.el.ValueExpression rendered)
public void setConverter(javax.el.ValueExpression converter)
public void setValidator(javax.el.MethodExpression validator)
@Deprecated public void setInline(javax.el.ValueExpression inline)
public void setReadonly(javax.el.ValueExpression readonly)
public void setDisabled(javax.el.ValueExpression disabled)
public void setRequired(javax.el.ValueExpression required)
public void setTip(javax.el.ValueExpression tip)
public void setPlaceholder(javax.el.ValueExpression placeholder)
public void setLabelWidth(javax.el.ValueExpression labelWidth)
public void setMarkup(javax.el.ValueExpression markup)
public void setTabIndex(javax.el.ValueExpression tabIndex)
public void setValidatorMessage(javax.el.ValueExpression validatorMessage)
public void setConverterMessage(javax.el.ValueExpression converterMessage)
public void setRequiredMessage(javax.el.ValueExpression requiredMessage)
public void setFieldId(String fieldId)
public void setPickerId(String pickerId)
public void setFormId(String formId)
public void setId(String id)
setId
in class javax.servlet.jsp.tagext.TagSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |