Sun Java Studio Creator 2 – Online Help
 

Standard Radio Button List Component

See Also

You can drag the Standard JavaServer Faces Radio Button List component radio button list icon from the Palette to the Visual Designer to create a table initially containing three radio buttons in single row.

A Radiobutton List is a composite component: the enclosing component (radioButtonList) manages the style and behavior of the list itself, and the inside component (radioButtonListSelectItems) is used to bind to the actual items in the list. A third, related component named radioButtonListDefaultItems is created for each Radiobutton List component that you add to the page and contains an array of static default items for the list (item1, item2, item3). This last component is not one that you typically work with. You can see all these components in the Outline window after you add a Radiobutton List to your page.

A Radiobutton List renders as an HTML <table> containing <input style="radio"> in each cell. Each <input> is enclosed in a <label> to provide the label for each button.

After adding a Radiobutton List Component to a page, you can do a number of things with it:

See Also
Working With Components
Component Tasks: Quick Reference
Component Web Tutorials
Data Source Web Tutorials
About the Palette
 
 
 
Legal Notices. Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Close