nxu
Tag validateFileSize


Register an InputFileSizeValidator instance on the UIComponent associated with the closest parent UIComponent custom action.

Example:
<nxu:inputFile value="#{document.file.content" filename="#{document.file.filename}" editFilename="true"> <nxu:validateFileSize maxSize="10Mo" /> </nxu:inputFile>


Tag Information
Tag ClassNull
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
maxSizefalsefalsejava.lang.StringString representing the maximum size accepted for a file. Examples: 10Ko, 10Mo, 10Go.
bindingfalsefalsejava.lang.StringA ValueExpression that evaluates to an instance of the validator.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.