Not only does this question not have anything to do with Hibernate, you already asked a question titled "hibernate" Which didn't have anything to do with Hibernate either. You will get more usable answers when your question title matches what you're actually interested in.
You can make your XML more readable if you use the "Code" button on the message editor, by the way.
Rule #1 in JSF: The more JSF-specific code you write, the more likely you're doing it wrong. JSF is designed to work with POJO code wherever possible and to intrude only minimally when it's required at all.
Related to that is that as a general rule, you shouldn't use "binding" on controls unless you intend to actively manipulate the page layout itself. Normal data interactions can be done (and done much simpler) by using the "value=" attribute. I think that there is zombie documentation out on the Internet that keeps people using bindings and actionlisteners when thy shouldn't.
You need to read up on how to code and wire in Validators, however.
Sometimes the only way things ever got fixed is because people became uncomfortable.
Everybody's invited. Even this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss