Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2237

Grid should make its "currentPage" value available to containing components

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.11
    • 5.0.11
    • Core Components
    • None
    • any

    Description

      With the introduction of the @GenerateAccessor annotation, tapestry's core components were stripped of their "getters" and "setters". But Grid's currentPage property should be accessible via java code, and not 100% internal to the component. There are many cases where a container may want or need to change the current page, outside of the standard "pager" links. Without the accessors, this is non-trivial (ie requires reflection).

      Attachments

        1. grid_currentpage_accessors.patch
          0.7 kB
          Robert Zeigler

        Activity

          People

            hlship Howard Lewis Ship
            ongakugainochi Robert Zeigler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: