Adding an Object to a Web Page

You can add an object, for example a DataWindow, to a Web page, edit the properties of the object, and bind the object to associated managed bean method or property.

To add an object to a Web page:

  1. In the WorkSpace Navigator, double-click the Web page to which you want to add an object.

    The Web Page editor opens displaying default JavaServer Faces (JSF) components.

  2. Click Palette on the Fast View shortcut bar.

    The Palette opens in the perspective.

  3. Click to open the section of the Palette that contains the object that you want to add.

  4. Select the object and drag and drop it onto the Web Page editor.

    The object graphically appears on the upper section of the editor, the source code for the object appears in the Source section of the editor, and attributes of the object display in the Properties view.

  5. (Optional) To preview the Web page in a browser, click the Preview tab.

Next: Editing Object Properties

Designing a Web Page

Web Application Development Palette

WorkSpace Navigator

Fast View Shortcut Bar

Working with DataWindows

JavaServer Faces

Web Application Development Properties View

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com