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 2010/12/01 21:13:12 UTC
[jira] Created: (TAP5-1361) Tapestry should include a coercion from
Flow to List
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
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.
-
You can reply to this email to add a comment to the issue online.
[jira] [Closed] (TAP5-1361) Tapestry should include a coercion from
Flow to List
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Closed] (TAP5-1361) Tapestry should include a coercion from
Flow to List
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ 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