Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1249

Select component and Bean Validator

    XMLWordPrintableJSON

Details

    Description

      t:select component with blankOption = "auto" (default) and NotNull validation constraint (JSR-303) on edit bean field must not render blank option. isRequired method of org.apache.tapestry5.internal.beanvalidator.BeanFieldValidator called from isRequired method of Select component (and others) always return false and Select component render blank option.

      Attachments

        1. required.patch
          3 kB
          Vladimir Velikiy

        Activity

          People

            Unassigned Unassigned
            vvv Vladimir Velikiy
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: