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