1 Reply Latest reply on Nov 8, 2013 8:58 AM by bleathem

    RW vs RF5 component event handlers

    jhuska

      Hello,

       

      what approach we want to take regarding to the RW vs RF5 component handlers ?

       

      I would have these specific questions:

       

      1. The doc for event handlers differ slightly. Do we want the same behavior in RW and RF5 ? I mean the same conditions when an event is triggered.

      1.1 e.g. doc for change from RW:

      Fired when the target list of the pickList changes values.

                           doc from RF5:

      Javascript code executed when the list element loses focus and its value has been modified since gaining

      focus.

      1.2 IMHO we are taking over the behavior from RW, so the doc should be the same as in the RW.

       

      2. Do we plan to expose more event handlers for RW components ? For example for pickList the same which are currently accessible in the RF5 ? (e.g. onclick ?).

       

      Cheers

      Juro

        • 1. Re: RW vs RF5 component event handlers
          bleathem

          On Fri 08 Nov 2013 05:39:54 AM PST, Juraj Húska wrote:

           

          Hello,

           

          what approach we want to take regarding to the RW vs RF5 component

          handlers.

           

          I would have these specific questions:

           

          1. The doc for event handlers differ slightly. Do we want the same

          behavior in RW and RF5 ? I mean the same conditions when an event is

          triggered.

          1.1 e.g. doc for change from RW:

          1.2 IMHO we are taking over the behavior from RW, so the doc should be

          the same as in the event.

           

          In many cases the RichFaces taglib doc is borrowed from the JSF doc.  I

          don't think we should impose any restrictions on the RichWidget docs,

          and should document them as would best be received by the target

          community.  That being said, they shouldn't disagree as the above

          picklist change docs do.

           

           

          2. Do we plan to expose more event handlers for RW components ? For

          example for pickList the same which are currently accessible in the

          RF5 ? (e.g. onclick ?).

           

          The jQuery syntax for registering event handlers is rather concise, we

          don't gain anything by introducing a new API for registering handlers

          for native events.

           

          Brian

          _______________________________________________

          richfaces-dev mailing list

          richfaces-dev@lists.jboss.org

          https://lists.jboss.org/mailman/listinfo/richfaces-dev