Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2542

Don't throw exception if no SelectItems found

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0.0-beta-2
    • 2.0.0-beta-2
    • General
    • None
    • myfaces trunk

    Description

      if <f:selectItems value="#

      {aNonExistentModel}

      " /> resolves in runtime to null a expection is throw. But having no SelectItem(s) is legal and this state should not breaks view processing/rendering. JSF RI handles this situation without a exception.

      Attachments

        1. MYFACES-2542.patch
          3 kB
          Martin Kočí

        Activity

          People

            jakobkorherr Jakob Korherr
            markoc50 Martin Kočí
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: