Binding Component Values and Instances to External Data Sources

As explained in Backing Bean Management (page 656), a component tag can wire its component's data to a back-end data object by doing one of the following:

  • Binding its component's value to a bean property or other external data source

  • Binding its component's instance to a bean property

A component tag's value attribute uses a value-binding expression to bind a component's value to an external data source, such as a bean property. A component tag's binding attribute uses a value-binding expression to bind a component instance to a bean property.

When referencing the property using the component tag's value attribute, you need to use the proper syntax. For example, suppose a backing ...

Get The J2EE™ Tutorial Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.