Binding a Resource Bundle to a Web Page Component

Bind a resource bundle to a Web page component to use the bundled resources in your Web application.

  1. Double-click the Web page in which you want to bind a resource bundle.
  2. Select the resource bundle and drag and drop the resource bundle onto the Web page. "loadBundle" appears in the Web page and the resource bundle details display in the Data Bindings view.
  3. In Data Bindings, drag and drop the selected resource onto the Web page.
  4. In the dialog box:
    1. Select the attribute that you want to map to the JSF component.
    2. Select the item you want to map to.
    3. Click:
      • Next to configure a container to hold the new component.

      • Finish to accept the defaults and skip the rest of this procedure.

  5. On the Configure a Container to Hold the Generated Components page, select Use Table-Typed Container to Hold Components.
  6. Select either a JSF PanelGrid or an HTML Table.
  7. Type the number of component pairs that you want to appear in each row in the text box.
  8. Click Finish.
Related concepts
Resource Bundle Editor
Related tasks
Creating a Resource Bundle
Designing a Web Page
Creating a Web Page
Adding a Control to a Web Page
Defining Control Properties
Changing the Appearance of a Control
Adding an Object to a Web Page
Editing Object Properties
Binding a Managed Bean to a Control
Linking Web Pages

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.