Progressive Enhancement is a philosophy of web design - start with simple pages, and build them up based on the capabilities of the browser viewing the page. It’s related to (and in some ways, the opposite of) the idea of Graceful Degradation, starting with a nice, fancy page, and dealing with any browser faults in an elegant manner.
Prehaps the simplest example to see this in action is the...
on Feb 7, 2010
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...
on Oct 14, 2009
In a recent blog, commenters took me to task for a perceived IE 6 memory leak. It wasn't actually there (they were wrong), but in attempting to prove myself right, I found a couple of memory leaks under IE in JSF's Ajax support. Since I just spent a week learning how all this functioned, I thought I'd set it down so that others could learn from my efforts.
Now, none of the information that I'...
on Nov 13, 2009
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. The reason why is simple - there was simply not very much time, once all the base Ajax work was completed, to add any additional features. However, adding this functionality yourself isn't actually very hard. Here's an example...
on Oct 19, 2009
Unlike most of my blog posts, where I try to describe the easiest possible way to do things, in this posting, I'll instead go over a Java-based custom JSF component that responds to the Ajax tag. The reason being that there simply aren't any examples out there of how to do this, and at least two people have expressed interest in finding exactly out how this is done. I'd advise anyone...
on Oct 9, 2009
I've placed my slides for my JSF 2 and Ajax talk up on slideshare.
Check 'em out, and ask questions in the comments.
on Oct 5, 2009
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...
on Oct 23, 2009
Enabling this is as simple as putting the below into your web.xml:
on Sep 28, 2009
Today we're going to talk about two features of JSF 2.0's f:ajax tag: the event attribute and the listener attribute.
The use of both of these is really, really simple - so I'll just briefly cover the basics, and then launch directly into the sample code.
The "event" attribute of the ajax tag indicates which event to use to trigger the ajax request. There are any number of possible events...
on Sep 26, 2009
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.
on Oct 14, 2009