Class RequestContext
Object
|
+--RequestContext
-
Direct Known Subclasses:
-
SecretForm, HelloForm, LoginForm
- class
RequestContext
This class stores the submitted input values and perform input validation.
Defined in RequestContext.js
|
Constructor Summary |
RequestContext(<String> action)
Constructs a new instance of RequestContext class.
|
RequestContext
RequestContext(<String> action)
Constructs a new instance of RequestContext class.
Parameters:
action - The command name as found in config.xml.
checkRequired
ArrayList checkRequired(name, value)
Checks to see it the value is set.
Returns:
None-empty ArrayList of errors or an empty ArrayList if there were no errors.
init
RequestAdapter init(<String> action)
Initializes RequestContext.
Parameters:
action - The command name as found in config.xml.
Returns:
RequestAdapter object instance itself.
validate
ArrayList validate()
The placeholder method for subclasses to override.
Validates RequestContext to see if visitor name is supplied.
Returns:
None-empty ArrayList of errors or an empty ArrayList if there were no errors.
www.troika-asp.com
Documentation generated on Sun Jun 15 17:59:32 2008