I've been neglecting my blog, but just a quick note to mention that my latest talk at JavaOne, DSLs with Groovy, is posted up on Slideshare.
The talk's designed for someone with no significant Groovy experience (unlike most Groovy DSL talks), so if it's interesting to you, check it out.
I'm hoping (but not promising) to turn the talk into a series of Blog entries in the coming weeks. So if you...
on Mar 10, 2012
Over the weekend, I was reading Mark Pilgrim's great book on HTML5 - and when I got to the part about the semantic tags, I thought it might be worth a quick mention.
In case you've missed out on HTML5 in general (and don't want to take the time to read that book I linked above), the idea behind semantic tags is that many sites use div blocks to mark out the same kinds of content, over and over....
on Feb 8, 2010
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
The Open Ajax Alliance is a standards organization with the mission of ensuring interoperability within Web based Ajaxified applications. One of their standards relates to intercomponent communication - the ability to subscribe and publish messages which can then be picked up by code written by other authors.
Please note that if you don't have an interest in Open Ajax, this post may not be...
on Sep 3, 2009
First, I needed...
on Sep 2, 2009
A few weeks ago, I blogged about ways to execute scripts on the client which you were writing out from the server via Ajax. By popular demand, the latest build of Mojarra now allows execution of inline scripts.
So, instead of having to either bundle code into an <eval> tag, or using an event to execute it later, you can now simply say something like:
on Sep 1, 2009