JSF supplies progressive enhancement out of the box for many purposes. Here’s a quick tip on how you can enhance it.
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...
I've had a few requests for request aggregation, ala RichFaces queues, in JSF 2.
This was deliberately not included in JSF 2.0, but it will be considered for JSF 2.1.
However, adding this functionality yourself isn't actually very hard. Here's an example of how.
How to write a Java-based custom JSF component that responds to the Ajax tag. Composite Components is still my favorite way to do things, but there are times when a custom Java component is the best strategy.
I've placed my slides for my JSF 2 and Ajax talk up on slideshare.
Check 'em out, and ask questions in the comments.
Just a short post to note that we've now shipped Mojarra 2.0.1. This version fixes a very serious bug when running on Tomcat. You can pick up the files from the usual places, see the release notes for more information.
If you're using GlassFish, and already running 2.0.0 (you leading edge adopter!), there's probably no reason to upgrade - though the new v3 (b69) has the updated jar, and it will...
Enabling this is as simple as putting the below into your web.xml:
In this entry, I discuss two more features of JSF Ajax support: the f:ajax tag's event attribute and listener attribute.
Web Development Tools
I've posted the slides for the talk that Andy Schwartz and I did at Oracle Open World up on Slideshare.
Check 'em out.