The annotated class must implement the PreferencesValidator interface.
javax.portlet.PreferencesValidator
| Modifier and Type | Method and Description |
|---|---|
| public String[] |
| portletNames | back to summary |
|---|---|
| public String[] portletNames()
The portlet names for which the validator applies.
The annotated validator method can apply to multiple portlets within the portlet application. The names of the portlets to which the validator applies must be specified in this field. A wildcard character '*' can be specified in the first portletName array element to indicate that the validator is to apply to all portlets in the portlet application. If specified, the wildcard character must appear alone in the first array element.
| |