Use the Palette to drag and drop controls onto the Web page editor. You can also drag an image file, resource bundle file, and taglib file from the Enterprise Explorer or Windows Explorer and drop it onto the Web Page editor to create new HTML or JSF controls. If the resource file is not in your project, you must import it into the project first.
The following procedure is specific to adding a control from the Palette. Adding a resource from Enterprise Explorer or Windows Explorer is similar.
To add a control from the Palette:
In the WorkSpace Navigator, double-click the Web page to which you want to add controls.
The Web Page editor opens.
Click Palette
on the Fast View shortcut bar.
The Palette opens in the perspective.
The Palette contains the following: Select, Marquee, HTML, JSP, JSF Core, JSF HTML, and Sybase DataWindow if DataWindow component support is enabled.
Click to open the section of the Palette that contains the control you want to add.
Select the control and drag and drop it onto the Web Page editor.
The Web Page editor validates if the location of the control is valid. For example, all JSF controls must be within JSF view or subview tags. The control graphically appears in the design pane of the editor, the source code for the control appears in the Source pane of the editor, and attributes of the control display in the Properties view.
If you added a DataWindow control and it is a freeform DataWindow, set its height and width properties to ensure it displays properly, even if there are no rows.
Repeat steps 3 and 4 to add the controls you want on the Web page.
(Optional) To preview the Web page in a browser, click the Preview tab.
Next: Binding a Managed Bean to an Object
Changing the Appearance of a Control
Creating a DataWindow in Sybase WorkSpace
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com