5 Replies Latest reply on Sep 22, 2012 4:37 PM by healeyb

    Sandbox components to include in RF 4.3.0.M2

    bleathem

      We are looking to include some of the Sandbox components developed by Bernard Labno in RichFaces 4.3.0.M2.  This was discussed at a recent community meeting, and Bernard summarized the components as follows:

       

      1. Mature components (tested for a long time):
        • accesskeyhelper
        • focus
        • imageSelectTool
        • schedule
        • watermark
      2. Good Candidates (not so heavily used):
        • carousel
        • dashboard
        • lightbox
        • syntaxhighlighter
        • radio
      3. Lightly used components (in comparison to the others):
        • colorpicker
        • rating
        • visualsearch

       

      In this thread, we will review these components, with a particular focus on those in section (1) above.  Feel free to add your own comments on these components, and which ones you feel should be included in 4.3.0.M2.

        • 1. Re: Sandbox components to include in RF 4.3.0.M2
          healeyb

          I like the categorization - the standout component for me is schedule. It's very comprehensive and gets the job done, one thing

          I recollect (having not done any dev with it for about a year) is that the lazy loading is not exactly parallel to the way richfaces

          datatables work (my memory is hazy but could backtrack if needed). I seem to remember problems with valueChangeListeners

          not firing in certain circumstances. The best thing would be to promise to do some testing - meum dictum pactum!

           

          focus is incredibly lightweight to do without a server side component, i.e. jQuery(function($) { $('id').focus(); }); but beginners

          would appreciate it and primefaces has got it.

           

          watermark is really useful and despite the html5 placeholder is a no brainer.

           

          Regards,

          Brendan.

          • 2. Re: Sandbox components to include in RF 4.3.0.M2
            bleathem

            Brendan I agree with your analysis - thanks for taking the time to respond!

             

            Focus and watermark are relatively simple, yet quite useful components, as such they can be incorporated into the framework without too much overhead.  Schedule on the other hand is a much more complex component and will require more work to include, yet provides sufficient value to make it worth doing.

             

            I'll go ahead and create some RFSBOX issues to track the preparation of these 3 components for inclusion in RichFaces.

             

            Brian Leathem

            • 4. Re: Sandbox components to include in RF 4.3.0.M2
              blabno

              Hi Brendan, I disagree that focus is easy without component. The component gives you quite a few things just by adding single tag, so I'd say it's worth it.

              The logic is not so trivial:

              -if there are validation errors (faces message for particular component) then focus is put on component with validation error and lowest "index"

              -if there are no validation errors then focus is put on component with lowest "index"

              Index is by default assigned based on position of component in form, however there is special tag that can be used to modify the index of component if necessary.

               

              So all of this just with single tag? Well it's worth it IMHO. We use it in every project and almost every form.

              • 5. Re: Sandbox components to include in RF 4.3.0.M2
                healeyb

                Hi Bernard, I stand corrected. I'd not really considered how much was going on behind the scenes, so to speak.