javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-916

Support for generic types in Composite Component's attribute @type and @method-signature

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Facelets/VDL
    • Labels:
      None
    • Status Whiteboard:
      Hide

      size_large importance_medium

      Show
      size_large importance_medium
    • Tags:

      Description

      Currently there is no way to infer type of cc:attribute's type, since you can only use fully qualified name of class like:

      <composite:interface>
      <composite:attribute name="value" type="java.util.List"/>
      </composite:interface>

      This is not sufficient for tools to implement features like validation and code completion of EL expressions inside <cc:implementation>

      Allow definition of generic types in @type and @method-signature to improve composite component's usability:

      <composite:interface>
      <composite:attribute name="value" type="java.util.List<my.package.Person>"/>
      </composite:interface>

        Activity

        lfryc created issue -
        Ed Burns made changes -
        Field Original Value New Value
        Assignee Ed Burns [ edburns ]
        Ed Burns made changes -
        Status Whiteboard size_large importance_medium
        Tags 3_1-exclude
        Ed Burns made changes -
        Assignee Ed Burns [ edburns ]
        Ed Burns made changes -
        Fix Version/s 2.3 [ 16372 ]
        Ed Burns made changes -
        Priority Major [ 3 ] Trivial [ 5 ]
        Fix Version/s 2.3 [ 16372 ]
        Ed Burns made changes -
        Priority Trivial [ 5 ] Minor [ 4 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            lfryc
          • Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated: