org.jboss.seam.ui.taglib
Class FileUploadTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTagBase
      extended by javax.faces.webapp.UIComponentClassicTagBase
          extended by javax.faces.webapp.UIComponentELTag
              extended by org.jboss.seam.ui.util.cdk.UIComponentELTagBase
                  extended by org.jboss.seam.ui.util.cdk.UIComponentTagBase
                      extended by org.jboss.seam.ui.taglib.FileUploadTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspIdConsumer, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class FileUploadTag
extends UIComponentTagBase


Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentClassicTagBase
bodyContent, pageContext, UNIQUE_ID_PREFIX
 
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
FileUploadTag()
           
 
Method Summary
 java.lang.String getComponentType()
           
 java.lang.String getRendererType()
           
 void release()
           
 void setAccept(javax.el.ValueExpression __accept)
          a comma-separated list of content types to accept, may not be supported by the browser.
 void setAccesskey(javax.el.ValueExpression __accesskey)
          This attribute assigns an access key to an element.
 void setAlign(javax.el.ValueExpression __align)
          Deprecated.
 void setAlt(javax.el.ValueExpression __alt)
          For a user agents that cannot display images, forms, or applets, this attribute specifies alternate text.
 void setContentType(javax.el.ValueExpression __contentType)
          the property to receive the contentType Setter for contentType
 void setConverter(javax.el.ValueExpression __converter)
          Id of Converter to be used or reference to a Converter Setter for converter
 void setConverterMessage(javax.el.ValueExpression __converterMessage)
          A ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message that comes from the converter Setter for converterMessage
 void setData(javax.el.ValueExpression __data)
          this value binding receives the file's content type (optional).
 void setDisabled(javax.el.ValueExpression __disabled)
          When set for a form control, this boolean attribute disables the control for your input Setter for disabled
 void setFileName(javax.el.ValueExpression __fileName)
          this value binding receives the filename (optional).
 void setFileSize(javax.el.ValueExpression __fileSize)
          this value binding receives the file size (optional).
 void setImmediate(javax.el.ValueExpression __immediate)
          A flag indicating that this component value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until a Process Validations phase Setter for immediate
 void setLocalContentType(javax.el.ValueExpression __localContentType)
          localContentType Setter for localContentType
 void setLocalFileName(javax.el.ValueExpression __localFileName)
          localFileName Setter for localFileName
 void setLocalFileSize(javax.el.ValueExpression __localFileSize)
          localFileSize Setter for localFileSize
 void setLocalInputStream(javax.el.ValueExpression __localInputStream)
          localInputStream Setter for localInputStream
 void setLocalValueSet(javax.el.ValueExpression __localValueSet)
          localValueSet Setter for localValueSet
 void setMaxlength(javax.el.ValueExpression __maxlength)
          Specifies the maximum number of digits that could be entered into the input field.
 void setOnblur(javax.el.ValueExpression __onblur)
          The client-side script method to be called when the element loses the focus Setter for onblur
 void setOnchange(javax.el.ValueExpression __onchange)
          The client-side script method to be called when the element value is changed Setter for onchange
 void setOnclick(javax.el.ValueExpression __onclick)
          The client-side script method to be called when the element is clicked Setter for onclick
 void setOndblclick(javax.el.ValueExpression __ondblclick)
          The client-side script method to be called when the element is double-clicked Setter for ondblclick
 void setOnfocus(javax.el.ValueExpression __onfocus)
          The client-side script method to be called when the element gets the focus Setter for onfocus
 void setOnkeydown(javax.el.ValueExpression __onkeydown)
          The client-side script method to be called when a key is pressed down over the element Setter for onkeydown
 void setOnkeypress(javax.el.ValueExpression __onkeypress)
          The client-side script method to be called when a key is pressed over the element and released Setter for onkeypress
 void setOnkeyup(javax.el.ValueExpression __onkeyup)
          The client-side script method to be called when a key is released Setter for onkeyup
 void setOnmousedown(javax.el.ValueExpression __onmousedown)
          The client-side script method to be called when a mouse button is pressed down over the element Setter for onmousedown
 void setOnmousemove(javax.el.ValueExpression __onmousemove)
          The client-side script method to be called when a pointer is moved within the element Setter for onmousemove
 void setOnmouseout(javax.el.ValueExpression __onmouseout)
          The client-side script method to be called when a pointer is moved away from the element Setter for onmouseout
 void setOnmouseover(javax.el.ValueExpression __onmouseover)
          The client-side script method to be called when a pointer is moved onto the element Setter for onmouseover
 void setOnmouseup(javax.el.ValueExpression __onmouseup)
          The client-side script method to be called when a mouse button is released Setter for onmouseup
 void setOnselect(javax.el.ValueExpression __onselect)
          The client-side script method to be called when some text is selected in the text field.
protected  void setProperties(javax.faces.component.UIComponent component)
           
 void setRequired(javax.el.ValueExpression __required)
          If "true", this component is checked for non-empty input Setter for required
 void setRequiredMessage(javax.el.ValueExpression __requiredMessage)
          A ValueExpression enabled attribute which defines text of validation message to show, if a required field is missing Setter for requiredMessage
 void setSize(javax.el.ValueExpression __size)
          This attribute tells the user agent the initial width of the control.
 void setStyle(javax.el.ValueExpression __style)
          CSS style rules to be applied to the component Setter for style
 void setStyleClass(javax.el.ValueExpression __styleClass)
          Assigns one or more CSS class names to the component.
 void setTabindex(javax.el.ValueExpression __tabindex)
          This attribute specifies the position of the current element in the tabbing order for the current document.
 void setValid(javax.el.ValueExpression __valid)
          valid Setter for valid
 void setValidator(javax.el.MethodExpression __validator)
          MethodBinding pointing at a method that is called during Process Validations phase of the request processing lifecycle, to validate the current value of this component Setter for validator
 void setValidatorMessage(javax.el.ValueExpression __validatorMessage)
          A ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator Setter for validatorMessage
 void setValue(javax.el.ValueExpression __value)
          The current value of this component Setter for value
 void setValueChangeListener(javax.el.MethodExpression __valueChangeListener)
          Listener for value changes Setter for valueChangeListener
 
Methods inherited from class org.jboss.seam.ui.util.cdk.UIComponentTagBase
getExpressionFactory, isValueReference, setActionListenerProperty, setActionProperty, setBooleanProperty, setBooleanProperty, setDoubleProperty, setDoubleProperty, setFloatProperty, setFloatProperty, setIntegerProperty, setIntegerProperty, setLongProperty, setLongProperty, setProperty, setProperty, setStringProperty, setStringProperty, setValueChangedListenerProperty, setValueProperty, setValueProperty
 
Methods inherited from class org.jboss.seam.ui.util.cdk.UIComponentELTagBase
setActionListenerProperty, setActionProperty, setConverterProperty, setValidatorProperty, setValueChangeListenerProperty
 
Methods inherited from class javax.faces.webapp.UIComponentELTag
createComponent, getELContext, hasBinding, setBinding, setRendered
 
Methods inherited from class javax.faces.webapp.UIComponentClassicTagBase
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doEndTag, doInitBody, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter
 
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
doEndTag, doStartTag, getParent, setPageContext, setParent
 

Constructor Detail

FileUploadTag

public FileUploadTag()
Method Detail

setAccept

public void setAccept(javax.el.ValueExpression __accept)
a comma-separated list of content types to accept, may not be supported by the browser. E.g. "images/png,images/jpg", "images/*". Setter for accept

Parameters:
accept - - new value

setAccesskey

public void setAccesskey(javax.el.ValueExpression __accesskey)
This attribute assigns an access key to an element. An access key is a single character from the document character set. Note: Authors should consider the input method of the expected reader when specifying an accesskey Setter for accesskey

Parameters:
accesskey - - new value

setAlign

public void setAlign(javax.el.ValueExpression __align)
Deprecated. This attribute specifies the horizontal alignment of its element with respect to the surrounding context. The possible values are "left", "center", "right" and "justify". The default depends on the base text direction. For left to right text, the default is align="left", while for right to left text, the default is align="right". Setter for align

Parameters:
align - - new value

setAlt

public void setAlt(javax.el.ValueExpression __alt)
For a user agents that cannot display images, forms, or applets, this attribute specifies alternate text. The language of the alternate text is specified by the lang attribute Setter for alt

Parameters:
alt - - new value

setContentType

public void setContentType(javax.el.ValueExpression __contentType)
the property to receive the contentType Setter for contentType

Parameters:
contentType - - new value

setConverter

public void setConverter(javax.el.ValueExpression __converter)
Id of Converter to be used or reference to a Converter Setter for converter

Parameters:
converter - - new value

setConverterMessage

public void setConverterMessage(javax.el.ValueExpression __converterMessage)
A ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message that comes from the converter Setter for converterMessage

Parameters:
converterMessage - - new value

setData

public void setData(javax.el.ValueExpression __data)
this value binding receives the file's content type (optional). Setter for data

Parameters:
data - - new value

setDisabled

public void setDisabled(javax.el.ValueExpression __disabled)
When set for a form control, this boolean attribute disables the control for your input Setter for disabled

Parameters:
disabled - - new value

setFileName

public void setFileName(javax.el.ValueExpression __fileName)
this value binding receives the filename (optional). Setter for fileName

Parameters:
fileName - - new value

setFileSize

public void setFileSize(javax.el.ValueExpression __fileSize)
this value binding receives the file size (optional). Setter for fileSize

Parameters:
fileSize - - new value

setImmediate

public void setImmediate(javax.el.ValueExpression __immediate)
A flag indicating that this component value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until a Process Validations phase Setter for immediate

Parameters:
immediate - - new value

setLocalContentType

public void setLocalContentType(javax.el.ValueExpression __localContentType)
localContentType Setter for localContentType

Parameters:
localContentType - - new value

setLocalFileName

public void setLocalFileName(javax.el.ValueExpression __localFileName)
localFileName Setter for localFileName

Parameters:
localFileName - - new value

setLocalFileSize

public void setLocalFileSize(javax.el.ValueExpression __localFileSize)
localFileSize Setter for localFileSize

Parameters:
localFileSize - - new value

setLocalInputStream

public void setLocalInputStream(javax.el.ValueExpression __localInputStream)
localInputStream Setter for localInputStream

Parameters:
localInputStream - - new value

setLocalValueSet

public void setLocalValueSet(javax.el.ValueExpression __localValueSet)
localValueSet Setter for localValueSet

Parameters:
localValueSet - - new value

setMaxlength

public void setMaxlength(javax.el.ValueExpression __maxlength)
Specifies the maximum number of digits that could be entered into the input field. The maximum number is unlimited by default. If entered value exceeds the value specified in "maxValue" attribute than the slider takes a maximum value position. Setter for maxlength

Parameters:
maxlength - - new value

setOnblur

public void setOnblur(javax.el.ValueExpression __onblur)
The client-side script method to be called when the element loses the focus Setter for onblur

Parameters:
onblur - - new value

setOnchange

public void setOnchange(javax.el.ValueExpression __onchange)
The client-side script method to be called when the element value is changed Setter for onchange

Parameters:
onchange - - new value

setOnclick

public void setOnclick(javax.el.ValueExpression __onclick)
The client-side script method to be called when the element is clicked Setter for onclick

Parameters:
onclick - - new value

setOndblclick

public void setOndblclick(javax.el.ValueExpression __ondblclick)
The client-side script method to be called when the element is double-clicked Setter for ondblclick

Parameters:
ondblclick - - new value

setOnfocus

public void setOnfocus(javax.el.ValueExpression __onfocus)
The client-side script method to be called when the element gets the focus Setter for onfocus

Parameters:
onfocus - - new value

setOnkeydown

public void setOnkeydown(javax.el.ValueExpression __onkeydown)
The client-side script method to be called when a key is pressed down over the element Setter for onkeydown

Parameters:
onkeydown - - new value

setOnkeypress

public void setOnkeypress(javax.el.ValueExpression __onkeypress)
The client-side script method to be called when a key is pressed over the element and released Setter for onkeypress

Parameters:
onkeypress - - new value

setOnkeyup

public void setOnkeyup(javax.el.ValueExpression __onkeyup)
The client-side script method to be called when a key is released Setter for onkeyup

Parameters:
onkeyup - - new value

setOnmousedown

public void setOnmousedown(javax.el.ValueExpression __onmousedown)
The client-side script method to be called when a mouse button is pressed down over the element Setter for onmousedown

Parameters:
onmousedown - - new value

setOnmousemove

public void setOnmousemove(javax.el.ValueExpression __onmousemove)
The client-side script method to be called when a pointer is moved within the element Setter for onmousemove

Parameters:
onmousemove - - new value

setOnmouseout

public void setOnmouseout(javax.el.ValueExpression __onmouseout)
The client-side script method to be called when a pointer is moved away from the element Setter for onmouseout

Parameters:
onmouseout - - new value

setOnmouseover

public void setOnmouseover(javax.el.ValueExpression __onmouseover)
The client-side script method to be called when a pointer is moved onto the element Setter for onmouseover

Parameters:
onmouseover - - new value

setOnmouseup

public void setOnmouseup(javax.el.ValueExpression __onmouseup)
The client-side script method to be called when a mouse button is released Setter for onmouseup

Parameters:
onmouseup - - new value

setOnselect

public void setOnselect(javax.el.ValueExpression __onselect)
The client-side script method to be called when some text is selected in the text field. This attribute can be used with the INPUT and TEXTAREA elements. Setter for onselect

Parameters:
onselect - - new value

setRequired

public void setRequired(javax.el.ValueExpression __required)
If "true", this component is checked for non-empty input Setter for required

Parameters:
required - - new value

setRequiredMessage

public void setRequiredMessage(javax.el.ValueExpression __requiredMessage)
A ValueExpression enabled attribute which defines text of validation message to show, if a required field is missing Setter for requiredMessage

Parameters:
requiredMessage - - new value

setSize

public void setSize(javax.el.ValueExpression __size)
This attribute tells the user agent the initial width of the control. The width is given in pixels except when type attribute has the value "text" or "password". In that case, its value refers to the (integer) number of characters Setter for size

Parameters:
size - - new value

setStyle

public void setStyle(javax.el.ValueExpression __style)
CSS style rules to be applied to the component Setter for style

Parameters:
style - - new value

setStyleClass

public void setStyleClass(javax.el.ValueExpression __styleClass)
Assigns one or more CSS class names to the component. Corresponds to the HTML "class" attribute. Setter for styleClass

Parameters:
styleClass - - new value

setTabindex

public void setTabindex(javax.el.ValueExpression __tabindex)
This attribute specifies the position of the current element in the tabbing order for the current document. This value must be a number between 0 and 32767. User agents should ignore leading zeros Setter for tabindex

Parameters:
tabindex - - new value

setValid

public void setValid(javax.el.ValueExpression __valid)
valid Setter for valid

Parameters:
valid - - new value

setValidator

public void setValidator(javax.el.MethodExpression __validator)
MethodBinding pointing at a method that is called during Process Validations phase of the request processing lifecycle, to validate the current value of this component Setter for validator

Parameters:
validator - - new value

setValidatorMessage

public void setValidatorMessage(javax.el.ValueExpression __validatorMessage)
A ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator Setter for validatorMessage

Parameters:
validatorMessage - - new value

setValue

public void setValue(javax.el.ValueExpression __value)
The current value of this component Setter for value

Parameters:
value - - new value

setValueChangeListener

public void setValueChangeListener(javax.el.MethodExpression __valueChangeListener)
Listener for value changes Setter for valueChangeListener

Parameters:
valueChangeListener - - new value

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.faces.webapp.UIComponentELTag

setProperties

protected void setProperties(javax.faces.component.UIComponent component)
Overrides:
setProperties in class javax.faces.webapp.UIComponentELTag

getComponentType

public java.lang.String getComponentType()
Specified by:
getComponentType in class javax.faces.webapp.UIComponentTagBase

getRendererType

public java.lang.String getRendererType()
Specified by:
getRendererType in class javax.faces.webapp.UIComponentTagBase


Copyright © 2011 Seam Framework. All Rights Reserved.