Designing and Implementing Composite Applications : webMethods CAF and OpenCAF Development Help : Working with Portlet Preferences : Specifying a Portlet Preference Validator
Specifying a Portlet Preference Validator
You can specify a validator class for your portlet preferences.
To specify a portlet preference validator
1. Open a portlet application project and double-click the project’s portlet.xml file to open the Portlet Configuration Editor.
2. Expand the portlet node you want to work with and click Preferences.
3. Do one of the following:
*Click the Browse button to select a preexisting validator type. Begin typing the name of the validator you are looking for in the Select Entries field to filter the available choices. The validator class must implement the PreferencesValidator interface.
*Click the Validator link to open the New Java Class wizard. Specify the class attributes for the class you want to create as a validator and click Finish. The newly created class opens in the Java editor.
4. Save your changes.
Copyright © 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback