-
1. Re: Sandbox components to include in RF 4.3.0.M2
healeyb Aug 28, 2012 7:59 PM (in response to bleathem)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 Sep 6, 2012 3:46 PM (in response to healeyb)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
-
3. Re: Sandbox components to include in RF 4.3.0.M2
bleathem Sep 6, 2012 3:52 PM (in response to bleathem) -
4. Re: Sandbox components to include in RF 4.3.0.M2
blabno Sep 22, 2012 4:01 PM (in response to healeyb)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 Sep 22, 2012 4:37 PM (in response to blabno)Hi Bernard, I stand corrected. I'd not really considered how much was going on behind the scenes, so to speak.