Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1361

Tapestry should include a coercion from Flow to List

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.2.4
    • 5.3
    • tapestry-core, tapestry-ioc
    • 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(); }

      }));
      }

      Attachments

        Issue Links

          Activity

            People

              hlship Howard Lewis Ship
              hlship Howard Lewis Ship
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: