Search |
||
An (almost) comprehensive list of Web ComponentsPosted by driscoll on October 14, 2009 at 11:27 AM PDT
In talking with Andy Schwartz before our recent talk together at Oracle Open World, Andy mentioned that he'd like to see some new components make it in to JSF 2.1. I'd like to see that too - but what new components? To aid the discussion, I thought it might be handy to make up a list of components that I think would be handy for JSF - but please, don't take this as an endorsement of any particular component for inclusion into the spec. At best, I can see us adding only a handful, perhaps 3 or so. Still, once started, this kind of project becomes it's own end - so I decided it might be good to publish such a list. Many of these components already exist in some form or another for JSF, or as a JavaScript Widget that could be wrapped in a JSF component - so most of them are available today. Basic HtmlMost of the basic HTML components are already well covered, but there would seem to be a little room for a few very basic components
NavigationComponents for navigating from one page to another.
SecurityComponents that deal with identity and authorization.
Simple Rich UI
Filthy Rich UIReally elaborate graphical components. Harder to do as a standard, since styling becomes so important.
BehaviorsThings that are probably best implemented as behaviors.
Ajax
More?I'm sure I've left some out - suggest more in the comments...»
Comments
Comments are listed in date ascending order (oldest first)
Good suggestions, some comments
Submitted by driscoll on Wed, 2009-10-14 14:31.
I've added the progress bar - that was obvious, and it being left out was a transcription error when I copied from my notes. I also added a busy status indicator.
The ordering of rows on a table would be part of some new table that we'd implement - I'll have to update the TabluarData comment to reflect that. Same with reorder of columns, and perhaps filtering, though that sounds like that may be a bit much for standardized table. SingleRowSelect seems limited but useful - I think it goes under Basic HTML, right? Multicomponent validation doesn't really seem to be a component level feature, nor does layout managment - but I'd love to hear how you think they'd work. I'd like to see focus be part of the view component - I had a request for that in 2.0 that got turned down. Having it be a component is problematic - there can only be one focus per page. Can't you already do tree tables with facets? Can't we get subform functionality with f:ajax? Maybe I need to add a separate validation section, but that really seems out of scope for what I was trying to do :-) Check out for example
Submitted by dnamiot on Sun, 2009-10-18 02:05.
Check out for example Coldtags suite at http://servletsuite.com/jsp1.htm
But the real competitors here are JavaScript widgets (e.g. from JQuery).
Dojo and YUI are better examples, I think
Submitted by driscoll on Mon, 2009-10-19 09:55.
jQuery has a lot of good functionality, but almost no widgets to speak of - they've got what, 6? Dojo and YUI, on the other hand, have dozens.
jQuery is better thought of as a DOM DSL, rather than a widget set - their widgets have always seemed more of an afterthought. I've already examined Dojo and YUI in putting together the list above. |
||
|
|
More of them...
Essential:
- singleRowSelect (radio-button in a table, small thing, but essential)
- subform
- sorting on the table
- some more layouting support (at least colspan/rowspan support )
Nice to have:- reorder, filter columns on a table
- tree-table
- layouting support: a sophisticated layout manager
- something to remember the current focus of elements on postback, and the scroll-state (should this be handled in a component?)
- multi component validator (component?)
- range-field (from/to)
- progress bar
- wait page (component?)
regards,Martin