|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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 |
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)
|
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 Tag
doStartTag
in class BodyTagSupport
JspException
public int doEndTag() throws JspException
doEndTag
in interface Tag
doEndTag
in class BodyTagSupport
JspException
public void release()
release
in interface Tag
release
in class BodyTagSupport
public void setLabel(String label)
HasLabel
setLabel
in interface HasLabel
public void setValue(String value)
HasValue
setValue
in interface HasValue
public void setValueChangeListener(String valueChangeListener)
HasValueChangeListener
setValueChangeListener
in interface HasValueChangeListener
public void setOnchange(String onchange)
HasOnchange
setOnchange
in interface HasOnchange
public void setBinding(String binding)
HasBinding
setBinding
in interface HasBinding
public void setRendered(String rendered)
IsRendered
setRendered
in interface IsRendered
public void setValidator(String validator)
HasValidator
setValidator
in interface HasValidator
public void setDisabled(String disabled)
IsDisabled
setDisabled
in interface IsDisabled
public void setTip(String tip)
HasTip
setTip
in interface HasTip
public void setLabelWidth(String labelWidth)
HasLabelWidth
setLabelWidth
in interface HasLabelWidth
public void setRequired(String required)
IsRequired
setRequired
in interface IsRequired
public void setTabIndex(String tabIndex)
setTabIndex
in interface HasTabIndex
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |