Dashboard > WebWork > ... > CustomValidator Annotation > ValidationParameter annotation
  WebWork Log In View a printable version of the current page.  
  ValidationParameter annotation
Added by Rainer Hermanns, last edited by Rainer Hermanns on Apr 13, 2007  (view change)
Labels: 
(None)

ValidationParameter Annotation

The ValidationParameter annotation is used as a parameter for CustomValidators.

Usage

The annotation must embedded into CustomValidator annotations as a parameter.

Parameters

Parameter Required Default Notes
name yes   parameter name.
value yes   parameter value.

Examples

@CustomValidator(
  type ="customValidatorName",
  fieldName = "myField",
  parameters = { @ValidationParameter( name = "paramName", value = "paramValue" ) }
)

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators