You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2009/04/03 00:49:12 UTC

[jira] Commented: (TAP5-603) BeanEditForm ordering behaviour inconsistent with documentation

    [ https://issues.apache.org/jira/browse/TAP5-603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695157#action_12695157 ] 

Howard M. Lewis Ship commented on TAP5-603:
-------------------------------------------

Reverted to the old behavior, then got the desired change by adding any added property names when handling the include list (that is, the add list is implicitly appended to the include list).

> BeanEditForm ordering behaviour inconsistent with documentation
> ---------------------------------------------------------------
>
>                 Key: TAP5-603
>                 URL: https://issues.apache.org/jira/browse/TAP5-603
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: documentation, tapestry-core
>    Affects Versions: 5.0.18
>            Reporter: Ben Buckley
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.1.0.3
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.