Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0.18
-
None
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.