Tapestry
  1. Tapestry
  2. TAPESTRY-1742

Support removal and reordering of BeanModel properties inside Grid and BeanEditForm components

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.5
    • Fix Version/s: 5.0.6
    • Component/s: None
    • Labels:
      None

      Description

      It would be very useful to be able to remove unwanted properties, and reorder properties, using component parameters on Grid and BeanEditForm, rather than having to explicitly create the BeanModel in code for this purpose.

      I don't think there's a reasonable way to accomplish adding new (synthetic?) properties using parameters.

        Activity

        Howard M. Lewis Ship created issue -
        Hide
        Howard M. Lewis Ship added a comment -

        It's rather dissapointing that so many people wanted this, but I had to go and add the issue myself.

        Show
        Howard M. Lewis Ship added a comment - It's rather dissapointing that so many people wanted this, but I had to go and add the issue myself.
        Hide
        Jonathan Barker added a comment -

        A utility class to facilitate BeanModel creation would be handy, without requiring changes to the Grid and BeanEditForm components themselves.

        Show
        Jonathan Barker added a comment - A utility class to facilitate BeanModel creation would be handy, without requiring changes to the Grid and BeanEditForm components themselves.
        Hide
        Howard M. Lewis Ship added a comment -

        That's what the BeanModelSource service already is. The point here is to be able to do the most common kind of customizations without requiring that the page inject the service and create the model explicitly.

        Show
        Howard M. Lewis Ship added a comment - That's what the BeanModelSource service already is. The point here is to be able to do the most common kind of customizations without requiring that the page inject the service and create the model explicitly.
        Hide
        Howard M. Lewis Ship added a comment - - edited

        Added remove and reorder parameters to the BeanEditForm and Grid components.

        Show
        Howard M. Lewis Ship added a comment - - edited Added remove and reorder parameters to the BeanEditForm and Grid components.
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Fix Version/s 5.0.6 [ 12312544 ]
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Workflow jira [ 12412498 ] Default workflow, editable Closed status [ 12568299 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12568299 ] jira [ 12591365 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        6d 20h 27m 1 Howard M. Lewis Ship 17/Sep/07 03:34

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development