HelloForm.js
Summary
Contains HelloForm class.
This is part of Troika.ASP Framework - web development MVC framework for ASP 3.0.
Please visit www.troika-asp.com for more details.
Version: $Revision: 1.3 $
Author: Pavel Chuchev pav@troika-asp.com
|
Class Summary
|
| HelloForm |
This is RequestContext HelloForm class. |
HelloForm.prototype = new RequestContext();
HelloForm.prototype.constructor = HelloForm;
function HelloForm(action) {
if (arguments.length) {
this.init(action);
}
this.visitorName = null;
}
HelloForm.prototype.init = function (action) {
RequestContext.prototype.init.call(this, action);
return this;
};
HelloForm.prototype.validate = function () {
var result = new ArrayList();
this.flatten();
result.addAll(this.checkRequired("Name", this.visitorName));
return result;
};
www.troika-asp.com
Documentation generated on Sun Jun 15 17:59:32 2008