Tapestry 5
  1. Tapestry 5
  2. TAP5-1361

Tapestry should include a coercion from Flow to List

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.4
    • Fix Version/s: 5.3
    • Component/s: tapestry-core, tapestry-ioc
    • Labels:
      None

      Description

      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(); }

      }));
      }

        Issue Links

          Activity

          Hide
          Howard M. Lewis Ship added a comment -

          Fixed as part of TAP5-1390.

          Show
          Howard M. Lewis Ship added a comment - Fixed as part of TAP5-1390 .

            People

            • Assignee:
              Howard M. Lewis Ship
              Reporter:
              Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development