Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0 Rev a
    • Component/s: Facelets/VDL
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      712
    • Status Whiteboard:
      Hide

      cat1 frame vdldoc changelog

      Show
      cat1 frame vdldoc changelog

      Description

      Check this:
      http://java.sun.com/javaee/javaserverfaces/2.0/docs/pdldocs/facelets/f/event.html

      it talks about "name" attribute, but the spec talks about type (so do the most
      blogs). Section 3.4.3.4:

      Declarative Listener Registration
      Page authors can subscribe to events using the <f:event/> tag. This tag will
      allow the application developer to specify the
      method to be called when the specifed event fires for the component of which the
      tag is a child. The tag usage is as
      follows:
      The type attribute specifies the type of event, and can be any of the
      specification-defined events or one of any userdefined
      events, but must be a ComponentSystemEvent, using either the short-hand name for
      the event or the fullyqualified
      class name (e.g., com.foo.app.event.CustomEvent). If the event can not be found, a
      FacesException listing the offending event type will be thrown. Please see the
      tlddocs for the <f:event /> tag
      for the normative specification of the declarative event feature.
      The method signature for the MethodExpression pointed to by the listener
      attribute must match the signature of
      javax.faces.event.ComponentSystemEventListener.processEvent().

        Activity

        Hide
        mwessendorf added a comment -

        Also, I wonder where in the spec these "short-cuts" are specified:

        -preRenderComponent
        -PostAddToView
        -preValidate
        -postValidate

        the spec "only" says this about it =>
        <quote>
        using either the short-hand name for the event or the fullyqualified
        class name (e.g., com.foo.app.event.CustomEvent).
        </quote>

        Not sure why the TAG_DOC only contains four short-hand names. There are more
        events, like "PreRenderViewEvent" ...

        Also, the list of the short-cuts is inconsistent. Most start with a low
        character, but PostAddToView starts with a capital one....

        Show
        mwessendorf added a comment - Also, I wonder where in the spec these "short-cuts" are specified: -preRenderComponent -PostAddToView -preValidate -postValidate the spec "only" says this about it => <quote> using either the short-hand name for the event or the fullyqualified class name (e.g., com.foo.app.event.CustomEvent). </quote> Not sure why the TAG_DOC only contains four short-hand names. There are more events, like "PreRenderViewEvent" ... Also, the list of the short-cuts is inconsistent. Most start with a low character, but PostAddToView starts with a capital one....
        Hide
        Ed Burns added a comment -

        cat1

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

        vdl

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

        These are valid 2.0 Rev a issues

        Show
        Ed Burns added a comment - These are valid 2.0 Rev a issues
        Hide
        Ed Burns added a comment -

        Move to P2.

        Show
        Ed Burns added a comment - Move to P2.
        Hide
        Ed Burns added a comment -

        take ownership.

        Show
        Ed Burns added a comment - take ownership.
        Hide
        Ed Burns added a comment -

        Fix checked in.

        Show
        Ed Burns added a comment - Fix checked in.
        Hide
        rogerk added a comment -

        changelog

        Show
        rogerk added a comment - changelog
        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:
            mwessendorf
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: