Portlet Builder  Portlet viewer

Chapter 4: Building Portlets

Element list

The Element List displays the names and position drop-downs for each element within a portlet. Selecting an option from the position drop-down assigns the corresponding element to a template cell.

NoteA template contains HTML code that defines the position and layout of elements within a portlet. See Chapter 8, “Building Templates.”

Table 3-1 describes the functionality of the Element List buttons.

Table 4-1: Element list buttons

Button

Description

Add

Click the down arrow beside the Add button to add an element of type: Web, XML, Database, JSP, Web Service, HTML, or Document.

Create portlets with multiple elements from multiple sources.

Edit

Edit the element definition for XML, database, JSP, and document elements.

Preview

Launch a preview in a separate window:

  • HTML – displays the HTML output of the selected element.

  • XML – displays the XML output of the selected element.

Delete

Remove the selected element.

Figure 3-3 shows the Element List in the Portlet Builder.

Figure 4-1: Element List

The position drop-down lists let you specify the area of the portlet—the template cell—where the element should display.





Copyright © 2004. Sybase Inc. All rights reserved. Portlet viewer

View this book as PDF