AquaLogic .NET Portlet Toolkit AquaLogic Interaction (ALI) Development Guide

     Previous Next  Open TOC in new window   View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Creating ALI Preference Pages Using the .NET Portlet Toolkit

To create a preference page, use the VisualStudio.NET templates provided with the .NET Portlet Toolkit. The templates are pre-configured to include references to required BEA assemblies, including the IDK, Portlet API libraries, the ALI PTSpy logging infrastructure and the IDK user profile provider.

The ALIPreferencePage template provides the same functionality as an ALIPortletPage and includes additional features for rendering and editing a preference page. By default, the page renders a title bar with "Finish" and "Cancel" buttons that match the standard ALI preference page style. The appearance and functionality of the title bar can be changed by overriding the DrawTitleBar() method from the base class.
To complete the preference page, you must implement four methods:
Method Name Description
GetTitleBarText() Read-only property to get the text for the title bar.
GetFinishButtonText() Read-only property to get the text for the finish button.
GetCancelButtonText() Read-only property to get the text for the cancel button.
SavePreferences() Method implemented to update preference values for any preferences changed on the page.

  Back to Top      Previous Next