I've written my first AJAXian JSF component. I took Greg Murray's very useful but utterly non-componentized Progress Bar example and generalized it into a faces component that allows you to simply put this in your page:

<d:progressBar id="progressBar" 
                           value="#{process.percentage}" 
                           interval="1000" />


 

And there you have a dynamically updating progress bar that doesn't cause a page refresh.

I've written the component up in the Solutions Catalog and you can get the source there as well. The main thing this building this component taught me is that writing and debugging JavaScript is no-fun so I'm glad to see that Faces can relieve the page author of such nonsense.

Technorati Tags: edburns