How to do Facelet custom tag handlers in JSF2.
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.
I wrote an OpenID provider for java.net at http://openid4javanet.dyndns.org/. This allows peripheral systems to integrate with java.net more nicely
Content available at: http://blog.arungupta.me/2009/09/redmine-typo-mephisto-on-glassfish-v3/
Writing Atmosphere's Comet based applications is simple. Imagine using JRuby instead of Java...it becomes really simple!
This entry showed you how to programmatically intercept the ViewExpiredException and do something nice with it. If you have any other state that you can show in the page, it's easy to include it in the Facelets view.
Writing Comet application is more and more simple, thanks to framework like LIft and Atmosphere and to the upcoming Servlet 3.0 async part. But on the Client side, the difference between Safari, Opera, Firefox, IE and Chrome can make your application completely unresponsive or broken. Of course, there is some tricks to make it work.
Using the f:ajax tag can make doing ajax with a repeating tag like ui:repeat considerably easier.
Dealing with field focus in JSF 2 and ajax. It's not hard, but you do have to keep a basic rule in mind: Don't update the parent of the field with focus.
There's more to web development with JSF than just using JSF component libraries - there's a lot of really great widget sets out there that have nothing to do with JSF - here's a quick example of using one (the YUI Calendar widget) with JSF, Ajax, and a Managed bean.
About a year ago, I gave a talk at JavaOne on how to write a Comet powered TicTacToe game. At the time, I used the Grizzly Comet APIs. Here's an update for it to use the multi-platform Atmosphere API set.
David Geary has the third of his three part series of JSF 2 articles up. If you're getting started with JSF 2, go check it out - lots of good information there.
Atmosphere 0.3 released with support for Scala, Clustering, Injections, Grails Support, Cometd/Bayeux Protocol, many performance improvements, and many new extension points!!
Hazem Saleh has posted a short blog on executing scripts in a JSF client page. Here's a link, along with some comments on his post.
We're less than two months away from the 2nd annual JSF Summit conference, co-sponsored by JSFCentral and the No Fluff Just Stuff Symposiums. The conference will take place December 1st-4th in warm, sunny Orlando, FL.
We already have an all-star lineup of speakers such as Ed Burns, Matthias Wessendorf, Dan Allen, Ted Goddard, Keith Donald, David Geary and several others, covering every aspect...
See how easy it is to deploy JSP applications over Grizzly.
I've had questions about how to inject Web Beans into servlets and whether that is supported. In this entry I'll outline a method of accomplishing just that.
TOTD #97 showed how to install GlassFish Tools Bundle for Eclipse 1.1. Basically there are two options - either install Eclipse 3.4.2 with WTP and pre-bundled/configured with GlassFish v2/v3, MySQL JDBC driver and other features. Or if you are using Eclipse 3.5, then you can install the plug-in separately and get most of the functionality.
TOTD #98 showed how to create a simple Metro/JAX-WS...