Posted by cayhorstmann
on June 16, 2009 at 12:03 PM PDT
DZone just published the
href="http://refcardz.dzone.com/refcardz/javaserver-faces-20">JSF 2.0 version
of my JSF refcard. It provides updated summaries of the tags and attributes
needed for JSF programming, along with a summary of the JSF expression language
and a list of code snippets for common operations.
If you haven't done so, give JSF 2.0 a try. It is a lot more fun than JSF
1.0. Here is a quick recipe.
Now look at the source. Note these points:
- A blessedly empty faces-config.xml
@Stateless annotations in the bean
- Facelets syntax in the web pages
If you are stuck with JSF 1.x, the
href="http://refcardz.dzone.com/refcardz/javaserver-faces">old refcard is