[
https://issues.apache.org/jira/browse/TAP5-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Howard M. Lewis Ship closed TAP5-1361.
--------------------------------------
Resolution: Fixed
Fix Version/s: 5.3.0
Assignee: Howard M. Lewis Ship
Fixed as part of TAP5-1390.
> Tapestry should include a coercion from Flow to List
> ----------------------------------------------------
>
> Key: TAP5-1361
> URL: https://issues.apache.org/jira/browse/TAP5-1361
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core, tapestry-ioc
> Affects Versions: 5.2.4
> Reporter: Howard M. Lewis Ship
> Assignee: Howard M. Lewis Ship
> Fix For: 5.3.0
>
>
> Without this coercion, you can't provide a Flow as the source parameter to a
> Grid or Loop.
> @SuppressWarnings("rawtypes")
> public void contributeTypeCoercer(Configuration<CoercionTuple>
> configuration)
> {
> configuration.add(CoercionTuple.create(Flow.class, List.class, new
> Coercion<Flow, List>()
> {
> @Override
> public List coerce(Flow input)
> {
> return input.toList();
> }
> }));
> }
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira