aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF Binding Components" Watch "JSF Binding Components" New topic
Author

JSF Binding Components

Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
Hi,

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: 16145
    
  21

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.
 
 
subject: JSF Binding Components