webMethods and Intelligent Business Operations 10.2 | 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 portlet.xml file to open the Portlet Application Configuration Editor.
2. On the Configuration tab, for the portlet with which you want to work, click Preferences.
3. Do one of the following:
*Click Browse to select a pre-existing validator type. Begin typing the name of the validator 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 attributes for the class that you want to create as a validator and click Finish. The newly created class opens in the Java editor.
4. Save your changes.

Copyright © 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release