Interface ValidateFileItemTagDeclaration


public interface ValidateFileItemTagDeclaration
Register an FileItemValidator instance on the UIComponent associated with the closest parent UIComponent custom action.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setContentType(javax.el.ValueExpression contentType)
    A list of allowed content types or extensions of the file.
    void
    setMaxSize(javax.el.ValueExpression maxSize)
    The maximum size of the file in bytes.
  • Method Details

    • setMaxSize

      void setMaxSize(javax.el.ValueExpression maxSize)
      The maximum size of the file in bytes.
    • setContentType

      void setContentType(javax.el.ValueExpression contentType)
      A list of allowed content types or extensions of the file. Examples: "image/png,application/pdf,.xml,.doc".
      See Also: