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

findNestingForm() tests only against component family and against instanceof UIForm

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.5
    • None
    • None

    Description

      since we ran into issues with some FormComponents which extend
      UIForm, but override the Family we should add an instanceof to
      the findNestingForm() method.

      Currently we test if the Form is a member of the following families:

      "javax.faces.Form"
      "org.apache.struts.faces.Form"
      "org.apache.myfaces.trinidad.Form"
      "oracle.adf.Form"

      Since there are more and more coming "custom" JSF libs which may
      extend UIForm, but override the family (like Struts-Faces did) I think
      we should add an instanceof UIForm to the algor.

      Testing against the families:
      "org.apache.myfaces.trinidad.Form"
      "oracle.adf.Form"

      makes sense because they are not UIForms. These form are also not a
      naming container.

      Attachments

        Activity

          People

            matzew Matthias Wessendorf
            matzew Matthias Wessendorf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: