Bind a resource bundle to a Web page component to use the bundled resources in your Web application.
To bind a resource bundle to a component:
In the WorkSpace Navigator, double-click the Web page in which you want to bind a resource bundle.
The Web Page editor opens.
In the WorkSpace Navigator, select the resource bundle and drag and drop it onto the Web page.
loadBundle appears in the Web page and the resource bundle details display in the Data Bindings view.
In Data Bindings, select the resource in the resource bundle that you want to use and drag and drop it onto the Web page.
The Create a JSF component for the managed bean member dialog box opens.
In the dialog box, do the following:
In the Attributes list, click the check box of the attribute that you want to map to the JSF component.
In the Mapping to JSF component table, click the check box of the item that you want to map to.
Do one of the following:
Click Next to configure a container to hold the new component.
Click Finish to accept the defaults and skip the rest of this procedure.
On the Configure a container to hold the generated components page, select Use table-typed container to hold components.
Select either a JSF panelGrid or an HTML table.
Type the number of component pairs that you want to appear in each row in the text box.
Click Finish.
The resource bundle resource is bound to the selected Web page component.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com