You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org> on 2006/09/25 07:10:50 UTC

[jira] Created: (MYFACES-1422) findNestingForm() tests only against component family and against instanceof UIForm

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

                 Key: MYFACES-1422
                 URL: http://issues.apache.org/jira/browse/MYFACES-1422
             Project: MyFaces Core
          Issue Type: Improvement
            Reporter: Matthias Weßendorf


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Resolved: (MYFACES-1422) findNestingForm() tests only against component family and against instanceof UIForm

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-1422?page=all ]

Matthias Weßendorf resolved MYFACES-1422.
-----------------------------------------

    Fix Version/s: 1.1.5-SNAPSHOT
       Resolution: Fixed

fixed in svn

> findNestingForm() tests only against component family and against instanceof UIForm
> -----------------------------------------------------------------------------------
>
>                 Key: MYFACES-1422
>                 URL: http://issues.apache.org/jira/browse/MYFACES-1422
>             Project: MyFaces Core
>          Issue Type: Improvement
>            Reporter: Matthias Weßendorf
>         Assigned To: Matthias Weßendorf
>             Fix For: 1.1.5-SNAPSHOT
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira