You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Denis Stepanov (JIRA)" <ji...@apache.org> on 2011/04/21 11:17:06 UTC

[jira] [Updated] (TAP5-1446) Improve coercion List -> SelectModel

     [ https://issues.apache.org/jira/browse/TAP5-1446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denis Stepanov updated TAP5-1446:
---------------------------------

    Description: It should use SelectModelFactory. Labels are extracted from objects using strategy pattern. Users can contribute providers for their own objects.   (was: It should use SelectModelFactory with default property "label?". If there is no such property it should have current toString value.

There is probably a bug in SelectModelFactoryImpl:

options.add(new OptionModelImpl(encoder.toClient(label), object));

toClient should be called with "object")
        Summary: Improve coercion List -> SelectModel  (was: Improve coercion Collection, Map -> SelectModel)

> Improve coercion List -> SelectModel
> ------------------------------------
>
>                 Key: TAP5-1446
>                 URL: https://issues.apache.org/jira/browse/TAP5-1446
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.4
>            Reporter: Denis Stepanov
>
> It should use SelectModelFactory. Labels are extracted from objects using strategy pattern. Users can contribute providers for their own objects. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira