ERXJSInputValidator Class Reference

Inherits com::webobjects::appserver::WOComponent.

Collaboration diagram for ERXJSInputValidator:

Collaboration graph
[legend]

List of all members.

Classes

class  Action

Public Member Functions

void appendToResponse (WOResponse woresponse, WOContext wocontext)
Class classForCurrentItem ()
boolean currentItemCanBlur ()
NSArray elementArray ()
String errorSpanID ()
 ERXJSInputValidator (WOContext context)
String formName ()
boolean synchronizesVariablesWithBindings ()

Public Attributes

String _errorSpanID
NSDictionary currentItem

Static Private Attributes

static final Logger log = Logger.getLogger(ERXJSInputValidator.class)


Detailed Description

Client side part of the JavaScript validation. Simply wrap your text-based input component with this component and whenever the user leaves the field, the value is validated via a RPC call on the server side and an error message is displayed if it does not validate.

keyName the key to validate against entityName the entity to validate against disabled disable the validation

Author:
ak on Fri May 02 2003 ERExtensions

Constructor & Destructor Documentation

ERXJSInputValidator ( WOContext  context  ) 

Public constructor

Parameters:
context the context


Member Function Documentation

void appendToResponse ( WOResponse  woresponse,
WOContext  wocontext 
)

Class classForCurrentItem (  ) 

boolean currentItemCanBlur (  ) 

NSArray elementArray (  ) 

String errorSpanID (  ) 

String formName (  ) 

boolean synchronizesVariablesWithBindings (  ) 

component does not synchronize it's variables


Member Data Documentation

NSDictionary currentItem

final Logger log = Logger.getLogger(ERXJSInputValidator.class) [static, private]

logging support


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:07 2012 for Project Wonder by  doxygen 1.5.8