Tapestry
  1. Tapestry
  2. TAPESTRY-1471

Controlling the order of properties within a BeanModel is too complex and needs an improved API

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.6
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      The use of a numeric order, to sort the properties within a bean model, is very unwieldy, especially when there's a desire to programmatically add new properties (often as new columns in a Grid).

      It would be nice if the BeanModel had methods addFirst(), addLast(), addBefore() and addAfter() to allow precise positioning of added properties within the model, and perhaps a reorder() method to change the overall order in a single go.

        Activity

        Howard M. Lewis Ship created issue -
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Fix Version/s 5.0.5 [ 12312477 ]
        Affects Version/s 5.0 [ 12312018 ]
        Howard M. Lewis Ship made changes -
        Summary BeanModel / PropertyModel order attribute is unwieldy Controlling the order of properties within a BeanModel is too complex and needs an improved API
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Fix Version/s 5.0.6 [ 12312544 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12404125 ] Default workflow, editable Closed status [ 12568277 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12568277 ] jira [ 12591347 ]

          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