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

          People

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

            Dates

            • Created:
              Updated: