Skip to main content

JSF 2.0 Refcard available

Posted by cayhorstmann on June 16, 2009 at 12:03 PM PDT




jsf2-refcard

jsf2-refcard.png

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
  • @ManagedBean @Stateless annotations in the bean
    class
  • 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
still available.