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.

Reply via email to