You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Timbul (JIRA)" <de...@myfaces.apache.org> on 2006/10/11 00:31:19 UTC

[jira] Created: (MYFACES-1451) HtmlTableRendererBase.getStyles(UIData) should not be static

HtmlTableRendererBase.getStyles(UIData) should not be static
------------------------------------------------------------

                 Key: MYFACES-1451
                 URL: http://issues.apache.org/jira/browse/MYFACES-1451
             Project: MyFaces Core
          Issue Type: Improvement
    Affects Versions: 1.1.5-SNAPSHOT
            Reporter: Thomas Timbul


The method getStyles(UIData) in the type org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase is declared as static, but (IMHO) has no reason to be static, especially considering that it is also declared protected.

I am maintaining a subclass that allows me to specify styles for rows and columns based on a condition that is evaluated for that row or column. The getStyles method is the perfect place to hook into, unfortunately 'static' prevents me from doing this.

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