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

cc:attribute method-signature should allow multiple definitions

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Facelets/VDL
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      906
    • Status Whiteboard:
      Hide

      size_medium importance_medium

      Show
      size_medium importance_medium

      Description

      On JSF 2.0, cc:attribute method-signature only allows define one signature, but
      there are examples on JSF that more that one method signature could be used for
      a method. For example:

      "action"

      void method()
      java.lang.Object method()

      "actionListener"

      void method()
      void method(javax.faces.event.ActionEvent )

      It could be useful to allow something like this

      <cc:attribute
      name="submitActionListener"
      method-signature="void method();void method(javax.faces.event.ActionEvent )"/>

      This is required to allow the new targetAttributeName to work as expected,
      because in this case it is required to define method-signature property for
      action, actionListener and valueChangeListener.

        Activity

        lu4242 created issue -
        Hide
        lu4242 added a comment -

        Created an attachment (id=334)
        Proposed patch solving this problem

        Show
        lu4242 added a comment - Created an attachment (id=334) Proposed patch solving this problem
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 906 20511
        Ed Burns made changes -
        Status Whiteboard size_medium importance_medium
        Ed Burns made changes -
        Fix Version/s unscheduled [ 10405 ]
        Ed Burns made changes -
        Assignee Ed Burns [ edburns ]
        Hide
        Ed Burns added a comment -

        Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

        Show
        Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
        Ed Burns made changes -
        Priority Major [ 3 ] Trivial [ 5 ]
        Ed Burns made changes -
        Priority Trivial [ 5 ] Minor [ 4 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            lu4242
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: