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

ComponentResources should give access to generic parameters of bound types

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4, 5.1.0.7
    • Fix Version/s: 5.4
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      ComponentResources can tell which type is bound to a given parameter via getBoundType(ParameterName). This is a great feature but only works for non-generic types. If a generic type is bound, it's impossible to access the generic parameters.
      Example:
      A component can bind to a Set of something. getBoundType returns "java.util.Set" for this parameter. So it' not possible to coerce the entries of this set to the target type.

        Attachments

          Activity

            People

            • Assignee:
              uklance Lance
              Reporter:
              micw Michael Wyraz
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: