The annotations only work under JSF2, which is still pretty new. For the JSF 1.x versions, you have to do like Siva says and define the name/bean mapping in the faces-config.xml file.
An IDE is no substitute for an Intelligent Developer.
Joined: Nov 03, 2009
Actually, I purchased a book with JSF 2.0 (Core JSF 3rd Edition) and tried couple examples.
The code compiles (I use Netbeans) but when I entered the values on the web page I got this error message.
I contacted the author but so far no help.
I do most of my stuff in jsp/servlet and looking into JSF framwork; but as you said JSF 2 is very new, I might looking into JSF 1.2.
There are more examples for it.
In your opinion, will a transition from JSF 1.2 to 2.0 be difficult ?