Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: 2.2
    • Component/s: Lifecycle
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      731
    • Status Whiteboard:
      Hide

      cat1 vdldoc

      Show
      cat1 vdldoc

      Description

      Currently vdl doc for for f:event's listener attribute says:

      javax.el.MethodExpression (signature must match public void
      listener(javax.faces.event.ComponentSystemEvent event) throws
      javax.faces.event.AbortProcessingException)

      However, the Mojarra implementation allows the event parameter to be optionally omitted. This
      matches the specified behavior for h:commandButton's actionListener attribute:

      The expression must evaluate to a public method that takes an ActionEvent parameter, with a return
      type of void, or to a public method that takes no arguments with a return type of void. In the latter
      case, the method has no way of easily knowing where the event came from, but this can be useful in
      cases where a notification is needed that "some action happened".

      We should update the f:event documentation to match the behavior currently implemented by Mojarra
      to be consistent across the f:event/h:commandButton cases.

        Activity

        Hide
        Ed Burns added a comment -

        add changelog_2_1 keyword

        Show
        Ed Burns added a comment - add changelog_2_1 keyword
        Hide
        Ed Burns added a comment -

        Ensure changelog_2_1 is in keywords list

        Show
        Ed Burns added a comment - Ensure changelog_2_1 is in keywords list
        Hide
        Ed Burns added a comment -

        2.2

        Show
        Ed Burns added a comment - 2.2
        Hide
        Ed Burns added a comment -

        remove changelog_2_1 from keyword list

        Show
        Ed Burns added a comment - remove changelog_2_1 from keyword list
        Hide
        Manfred Riem added a comment -

        Closing resolved issue out

        Show
        Manfred Riem added a comment - Closing resolved issue out

          People

          • Assignee:
            Ed Burns
            Reporter:
            aschwart
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: