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

        No work has yet been logged on this issue.

          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