You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2011/12/22 03:45:30 UTC

[jira] [Commented] (TAP5-1798) Grid and BeanDisplay should ignore properties that are actually static fields

    [ https://issues.apache.org/jira/browse/TAP5-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174581#comment-13174581 ] 

Hudson commented on TAP5-1798:
------------------------------

Integrated in tapestry-trunk-freestyle #647 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/647/])
    TAP5-1798: Grid and BeanDisplay should ignore properties that are actually static fields

hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1221952
Files : 
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/BeanModelSourceImpl.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/BeanModelSourceImplTest.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/BeanWithStaticField.java

                
> Grid and BeanDisplay should ignore properties that are actually static fields
> -----------------------------------------------------------------------------
>
>                 Key: TAP5-1798
>                 URL: https://issues.apache.org/jira/browse/TAP5-1798
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3, 5.4
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>              Labels: beanmodel, grid
>             Fix For: 5.3.2, 5.4
>
>
> Since 5.3, Tapestry treats public fields (static or instance) as if they were properties. This is great in many cases, but silly for Grid which ends up with an extra column that displays the same value all the way down ... certainly not what the developer intended.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira