Style class output could be cleaned up a lot in renderers
---------------------------------------------------------

                 Key: ADFFACES-332
                 URL: http://issues.apache.org/jira/browse/ADFFACES-332
             Project: MyFaces ADF-Faces
          Issue Type: Improvement
            Reporter: Adam Winer


Currently, there's lots of different code spread out among different renderers 
for dealing with default style classes, adding the result of getStyleClass(), 
mixing in any state classes.

I'dlike to move the CommandButtonRenderer.renderStyleAttributes() and 
getStateStyleClasses()
methods up to XhtmlRenderer, and rigorously use these and 
getDefaultStyleClass() across
all renderers for the CSS classes that gets rendered on the root element.  
This'd especially
clean up the form controls.


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