Portlet viewer  XML output definition

Chapter 4: Building Portlets

Portlet Builder toolbar

The Portlet Builder buttons allow you to edit and view portlet properties and parameters, create and edit labels and templates, and preview portlet content. Table 3-2 describes these buttons.

Table 4-2: Portlet Builder toolbar options

Option

Description

Save

Choose from:

  • Save – save the portlet under the same name.

  • Save As – save a new portlet or save an existing portlet under a new name.

See“Saving portlets”.

Properties

View and edit the properties that were specified when the portlet was created. Refer to the section in this chapter on each element type.

Params

View and configure portlet parameters. See “CGI parameters”.

Labels

Launch the edit window, which allows you to specify portlet labels. See “Portlet labels”.

Template

Select or create a different template. See Chapter 8, “Building Templates,” for more information about templates.

WARNING! Do not create new templates when you create secure portlets—you can receive a JavaScript error.

Preview

Preview the portlet as follows:

  • Playback – display the HTML preview.

  • XML – display only data-capable elements. See “XML output definition”.

  • Edit Screen – display the window that portal users see if they select Edit Portlet from their portal environment.

WARNING! If you choose HTML preview for an XML portlet, the portlet does not playback correctly.





Copyright © 2004. Sybase Inc. All rights reserved. XML output definition

View this book as PDF