Save portlet changes  Multiple template support

Chapter 1: Developer Features

Custom portlet height

When you save a portlet, the Presentation tab in the Web Studio – New Portlet Finish window contains a Height option, which lets you select the height at which a portlet displays.

The Height option is available only when Display Within IFrame is selected.

StepsCustomizing a portlet’s height

  1. Log in to Web Studio.

  2. Select Portlets from the left pane Build menu, select New from the Portlet Manager Status menu, then click New to open the Portlet Builder.

  3. In the Portlet Builder window, click Add to create a new portlet. See the Enterprise Portal Developer’s Guide, Chapter 4, “Creating Portlets,” for instructions.

  4. When you finish creating the portlet, click Save in the Portlet Builder.

  5. In the Web Studio – New Portlet Finish window, complete the options on the Content and Roles tabs.

  6. On the Presentation tab, select Display Within IFrame.

  7. Select Add New from the Height drop-down list.

  8. In the input field that appears to the right of the Height option, enter the numeric value, in pixels, of the height for the portlet; for example, 200.

  9. When you complete the remaining options, click Finish.

StepsChanging a portlet’s height

  1. To change the height of an existing portlet, select Portlets from the left pane Build menu.

  2. On the Portlet Manager Status menu, select the status of the portlet you want to change.

  3. Select the portlet in the detail view and click Edit to open the Portlet Builder.

  4. In the Portlet Builder, click Properties.

  5. When the Properties Editor opens, select the Presentation tab.

  6. From the Height drop-down list, select a different value.

  7. When you complete the remaining options, click OK, then Save.





Copyright © 2004. Sybase Inc. All rights reserved. Multiple template support

View this book as PDF