Tapestry 5
  1. Tapestry 5
  2. TAP5-1798

Grid and BeanDisplay should ignore properties that are actually static fields

    Details

      Description

      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.

        Activity

        Hide
        Hudson added a comment -

        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
        Show
        Hudson added a comment - 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

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development