Writing Component Properties
As explained in Backing Bean Management (page 656), there are two kinds of backing bean properties: those that are bound to a component's value and those that are bound to a component instance. These properties follow JavaBeans component conventions (see JavaBeans Components, page 497).
The component tag binds the component's value to a property using its value attribute. The component tag binds the component instance to a property using its binding attribute. Using the attributes to bind components and their values to properties is discussed in Binding Component Values and Instances to External Data Sources (page 714).
To bind a component's value to a backing bean property, the type of the property must match the ...
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.