Tapestry 5
  1. Tapestry 5
  2. TAP5-603

BeanEditForm ordering behaviour inconsistent with documentation

    Details

      Description

      The BeanEditForm documentation at the URLs below states that property orders are dependent on the order of the getter methods in the bean object.
      http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/corelib/components/BeanEditForm.html
      http://tapestry.apache.org/tapestry5/tutorial1/forms.html

      However in practice the default property order is alphabetical, and not based on the order of the getters.
      It looks as if the property names are being sorted when they are returned from the property adapters map (see: org.apache.tapestry5.ioc.internal.services.ClassPropertyAdapterImpl#getPropertyNames())

      The documentation should be brought in line with the current reality (or the code modified) to prevent confusion.

        Activity

        Ben Buckley created issue -
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 5.1.0.3 [ 12313782 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development