| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE html |
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html> |
| <head> |
| <link rel="stylesheet" type="text/css" href="../../com.ibm.help.doc/swg_info_common.css" /> |
| <title>Using the Web palette</title> |
| <script language="JavaScript"> |
| function popup_window( url, id, width, height ) |
| { |
| popup = window.open( url, id, 'toolbar=no,scrollbars=no,location=no,statusbar=no,menubar=no,resizable=no,width=' + width + ',height=' + height + ',left=,top=' ); |
| popup.focus(); |
| } |
| </script><script language="JavaScript" src="help/liveHelp.js"></script></head> |
| <body id="tpalette1"><a name="tpalette1"><!-- --></a> |
| |
| <h1 class="topictitle1">Using the Web palette</h1> |
| <div><div class="skipspace">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:</div> |
| <ol><li class="skipspace"><span>If the palette does not open, click <b>Window |
| -> Show View -> Other -> Basic -> Palette</b>.</span></li> |
| <li class="skipspace"><span>Click one of the drawers in the Palette view.</span> 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 <a href="../../org.eclipse.wst.webtools.doc.user/topics/tpalette2.html">customize</a> the items that appear in a drawer.)<p> Note |
| that the type of JSP file you are editing determines the drawers that appear |
| in the palette.</p> |
| </li> |
| <li class="skipspace"><span>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.</span></li> |
| </ol> |
| <div class="skipspace">Once the item appears on the page, you can usually set attributes |
| for it in the <b>Properties</b> view. You might also be prompted to set attributes |
| when you drop the item.<p>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. </p> |
| </div> |
| </div> |
| <p><b class="relconceptshd">Related concepts</b><br /> |
| <a href="cpalette.html" title="Palette view"></a><br /> |
| </p> |
| <p><b class="reltaskshd">Related tasks</b><br /> |
| <a href="tpalette2.html" title="Customizing the Web palette"></a><br /> |
| </p> |
| <p> |
| (C) Copyright IBM Corporation 2000, 2005. All Rights Reserved. |
| </p> |
| </body> |
| </html> |