Improve coercion Collection, Map -> 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 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"

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

        

Reply via email to