posted 11 years ago
It is perfectly OK to specify both binding and value at the same time. Value defines a reference to a backing bean data value property. Binding supplies a link to a backing bean UIComponent property. Two different things.
However, you almost never need to use binding. Its primary benefit is in cases where you want to dynamically alter the UIComponent tree, and that's something that should not be done for trivial reasons. Not only does it sacrifice simplicity and portability, it implies that the resulting view may be subject to radical changes in appearance, and that can confuse the users. Who generally have enough trouble even if the form looks the same all the time.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.