Before version 6.1, you set the portlet display direction by editing the “displayDirection” attribute in the styles.xml file.
In EP 6.1, you control the display direction of the content when you save a portlet or edit its properties in the Portlet Builder.
Customizing portlet content direction
Log in to Web Studio.
Select Portlets from the left pane Build menu, select New from the Portlet Manager Status menu, then click New to open the Portlet Builder.
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.
When you finish creating the portlet, click Save in the Portlet Builder.
In the Web Studio – New Portlet Finish window, complete the options on the Content and Roles tabs.
On the Presentation tab, select Display Direction.
Select LTR (left to right) or RTL (right to left) from drop-down list.
When you complete the remaining options, click Finish.
Changing a portlet content direction
To change the direction in which the content of an existing portlet displays, select Portlets from the left pane Build menu.
On the Portlet Manager Status menu, select the status of the portlet to change.
Select the portlet in the detail view and click Edit to open the Portlet Builder.
In the Portlet Builder, click Properties.
When the Properties Editor opens, select the Presentation tab.
Select a different option from the Display Direction drop-down list.
When you complete the remaining options, click OK, then Save.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |