|
||||||||||
| 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.FileExtensionTag
public class FileExtensionTag
Renders a file 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:file 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.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| 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 |
| Constructor Summary | |
|---|---|
FileExtensionTag()
|
|
| 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 |
setDisabled(String disabled)
Flag indicating that this element is disabled. |
void |
setFocus(String focus)
Flag indicating this component should recieve the focus. |
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 |
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 javax.servlet.jsp.tagext.Tag |
|---|
getParent, setPageContext, setParent |
| Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasId |
|---|
setId |
| Constructor Detail |
|---|
public FileExtensionTag()
| 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 setLabel(String label)
HasLabel
setLabel in interface HasLabelpublic void setValue(String value)
HasValue
setValue in interface HasValuepublic void setValueChangeListener(String valueChangeListener)
HasValueChangeListener
setValueChangeListener in interface HasValueChangeListenerpublic void setOnchange(String onchange)
HasOnchange
setOnchange in interface HasOnchangepublic void setBinding(String binding)
HasBinding
setBinding in interface HasBindingpublic void setRendered(String rendered)
IsRendered
setRendered in interface IsRenderedpublic void setValidator(String validator)
HasValidator
setValidator in interface HasValidatorpublic void setDisabled(String disabled)
IsDisabled
setDisabled in interface IsDisabledpublic void setTip(String tip)
HasTip
setTip in interface HasTippublic void setLabelWidth(String labelWidth)
HasLabelWidth
setLabelWidth in interface HasLabelWidthpublic void setRequired(String required)
IsRequired
setRequired in interface IsRequiredpublic void setTabIndex(String tabIndex)
HasTabIndex
setTabIndex in interface HasTabIndexpublic void setFocus(String focus)
IsFocus
setFocus in interface IsFocus
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||