Using the Web palette

The Web tools palette lets you quickly drag items from the palette onto the JSP or HTML file you are editing. To begin using the palette:
  1. If the palette does not open, click Window -> Show View -> Other -> Basic -> Palette.
  2. Click one of the drawers in the Palette view. The drawer expands and displays a list of items that you can drag and drop onto the page. For example, if you are editing a JSP file and you click the JSP Tags drawer, you will be able to drag Beans, Expressions, and Scriptlets onto the page. If you click the HTML drawer, you can drag Images, Bulleted Lists, and Tables on to the page. (You can customize the items that appear in a drawer.)

    Note that the type of JSP file you are editing determines the drawers that appear in the palette.

  3. Drag an item from a drawer to the desired place in the JSP or HTML file. (You can also click a location on the page, and then click on an item in the drawer.) Make sure that you drag and drop appropriate items onto a page. For example, if you are creating a static HTML page, you should not drop JSP items onto the page.
Once the item appears on the page, you can usually set attributes for it in the Properties view. You might also be prompted to set attributes when you drop the item.

By default, if you have one drawer open and you open another drawer, the first drawer will stay open provided that all items in the second drawer can be displayed. If not, one of the existing drawers will close. If you want to always keep a drawer open, you can click the Pin icon in the title bar for that drawer.

Related concepts

Related tasks

(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.