Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2318

Remove alloy:validateFile and move contentTypes and maxFileSize attributes to alloy:inputFile

    Details

      Description

      When portal:captcha was developed in FACES-2143, the decision was made to have validation logic in the Captcha.validateValue(FacesContext,Object) method rather than a separate portal:validateCaptcha tag.

      In order to follow this pattern, rather than having a separate alloy:validateFile tag for validating file uploads, is to be removed and validation (including the contentTypes and maxFileSize attributes) is to be moved to to alloy:inputFile.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                liferay-faces-3.2.5-ga6
                liferay-faces-4.2.5-ga6