Default FacesBean types to UIXFacesBeanImpl and UIXEditableFacesBeanImpl
------------------------------------------------------------------------

                 Key: ADFFACES-175
                 URL: http://issues.apache.org/jira/browse/ADFFACES-175
             Project: MyFaces ADF-Faces
          Issue Type: Improvement
            Reporter: Adam Winer
         Assigned To: Matthias Weßendorf


The current faces-bean.properties defaults the FacesBean type to 
UINodeFacesBean.  That was a reasonable choice back when the vast majority of 
renderers went through the old UIX codebase, but now just the opposite is true. 
 As a result, anyone writing a new renderer gets an unnecessarily heavy 
FacesBean (and pulls in the UIX code) unless they explicitly add an entry to 
faces-bean.properties.  Also, I don't think we have a good default for 
UIXEditableValue, so developers that write a renderer for an editable component 
have to remember to use UIXEditableFacesBeanImpl or they get a cryptic problem.

Anyway, we should:
 - Make UIXFacesBeanImpl the default in Trinidad
 - Make UIXEditableFacesBeanImpl the default for
   org.apache.myfaces.trinidad.component.UIXEditableValue
 - Switch everything that still really does need to use UINodeFacesBean (or a 
subclass)
   to do so explicitly, on a per-renderer-type basis (not at a component class 
level)



-- 
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


Reply via email to