Tapestry
  1. Tapestry
  2. TAPESTRY-1983

Add parameter to Grid component that will add additional columns to the BeanModel

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.3, 5.0.4, 5.0.5, 5.0.6
    • Fix Version/s: 5.0.11
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      It would be very useful to have some way to add columns to a Grid without using a BeanModel directly.
      Every object listing Maybe we could add a additionalColumns (or any better name) parameter to Grid expecting a comma-separated list of column names that would be provided through <t:parameter> blocks.

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12569277 ] jira [ 12592146 ]
        Mark Thomas made changes -
        Workflow jira [ 12419323 ] Default workflow, editable Closed status [ 12569277 ]
        Howard M. Lewis Ship made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 5.1 [ 12312964 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 5.0.11 [ 12312968 ]
        Howard M. Lewis Ship made changes -
        Summary Add paramter to Grid to create columns not related to properties (i.e. column with action links) Add parameter to Grid component that will add additional columns to the BeanModel
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Assignee Howard M. Lewis Ship [ hlship ]
        Hide
        Jesper Zedlitz added a comment -

        Is it a possibility to add the "columns" attribute from the Tapestry4 Table component? That was a very flexible way to modify columns.

        Show
        Jesper Zedlitz added a comment - Is it a possibility to add the "columns" attribute from the Tapestry4 Table component? That was a very flexible way to modify columns.
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Fix Version/s 5.1 [ 12312964 ]
        Hide
        Tobias Wehrum added a comment - - edited

        You are right, only one parameter would be needed for both functions.

        Show
        Tobias Wehrum added a comment - - edited You are right, only one parameter would be needed for both functions.
        Hide
        Thiago H. de Paula Figueiredo added a comment -

        Tobias, I agree that this new parameter could be applied to BeanEditForm too, but I don't think we need two different parameters (one for columns related to fields and other for columns not related to fields).

        Show
        Thiago H. de Paula Figueiredo added a comment - Tobias, I agree that this new parameter could be applied to BeanEditForm too, but I don't think we need two different parameters (one for columns related to fields and other for columns not related to fields).
        Hide
        Tobias Wehrum added a comment -

        Indeed it would be useful. Same would apply to the BeanEditForm.
        Another convenient parameter would be one which lets you add columns which are related to properties, but which were not added because Tapestry doesn't know how to present them without <t:parameter> blocks.

        Show
        Tobias Wehrum added a comment - Indeed it would be useful. Same would apply to the BeanEditForm. Another convenient parameter would be one which lets you add columns which are related to properties, but which were not added because Tapestry doesn't know how to present them without <t:parameter> blocks.
        Thiago H. de Paula Figueiredo created issue -

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Thiago H. de Paula Figueiredo
          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development