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

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

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: 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

        Hide
        hlship 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
        hlship 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
        jonabarker 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
        jonabarker 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
        hlship 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
        hlship 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
        hlship Howard M. Lewis Ship added a comment - - edited

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

        Show
        hlship Howard M. Lewis Ship added a comment - - edited Added remove and reorder parameters to the BeanEditForm and Grid components.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development