Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-6251

add file mime-type validator extensions label rendering control

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Detail
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4.1
    • Component/s: Seam / JSF UI

      Description

      In UI input file, when using the mime-type validators, a message is displayed listing the filtered extensions. When the re is too much extensions filteres, the message is useless. We want to be able to disable the message display setting an attribute onto the mime-type validator.

      Impacts are :

      • UIInputFile#encodeBegin -> don't render constraint if disabled in validator
      • nxweb-util.tld -> overriding the tag validateFileMimetype
      • InputFileMimetypeValidator -> taking in account new attribute

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: