This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSF and the fly likes JSF Binding Components Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSF
Bookmark "JSF Binding Components" Watch "JSF Binding Components" New topic

JSF Binding Components

Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238

I would like to know how to bind the component value to an implicit object. I also would like to know
how to bind the component instance to a bean property. Please advise. Any ideas, suggestions, resources, links highly appreciated. Thanks in advance.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17023

Binding is done too much by JSF programmers. I think maybe it was the only option available when JSF was still being developed, but now there are better ways. Also, from what I can see, some "JSF GUI designer" apps make it easy on themselves by using binding instead of property references.

Property references are better than binding in most cases. For one thing, they require simpler (POJO) interfaces without the need for specialized platform-specific coding.

Where binding does prove useful is in cases where you want the backing bean to dynamically modify basic page layout and control properties. I've only done a few apps like that in over 5 years of working with JSF.

However, if you need specific info on how to use binding, most decent JSF books will provide examples. Kito Mann's "JSF in Action" does.

Customer surveys are for companies who didn't pay proper attention to begin with.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: JSF Binding Components
It's not a secret anymore!