Cameron Wallace McKenzie wrote:Certainly, JSF provides various actionListeners that allow you respond to certain events, like list items being selected, but indeed, these rarely provide the level of interactivity that the famed "Web 2.0" user interface demands. As was stated, JSF has been eagerly extended by frameworks like RichFaces, but until everyone converts to GWT, there really is a need to know how to write some solid scripts.
-Cameron McKenzie
You might be surprised. I've got 2 major websites that use RichFaces and just about the only JavaScript in them are popups of the "Are you sure you want to delete this?" flavor. Which [i]could[/b] be made into a custom JSF tag (h:confirmButton, anyone?), but so far I don't think anyone has. Maybe something to do this afternoon.
No, I lied. One of them has Google Maps on them. I did a custom JSF tag that allows you to write Google Maps API client code as a separate javascript file and bind it to the map JSF tag so there wouldn't be long ugly sequences of JavaScript code embedded in the JSF page.
Not to disparage GWT, but I haven't found a compelling need for it in my JSF apps.