TROIKA.ASP - the MVC framework

ResponseContext.js

Summary

Contains ResponseContext 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
ResponseContext This class represents an output object from execute() of Command class.

/**
* @fileoverview Contains <tt>ResponseContext</tt> class.
*
* <p>
* This is part of Troika.ASP Framework - web development MVC framework for ASP 3.0.
* Please visit {@link http://www.troika-asp.com www.troika-asp.com} for more details.
* </p>
*
* @author Pavel Chuchev pav@troika-asp.com
* @version $Revision: 1.3 $
*/
/**
* Constructs a new instance of <tt>ResponseContext</tt> class.
*
* @class This class represents an output object from <tt>execute()</tt> of <tt>Command</tt> class.
*
* @constructor
* @param {Forward} forward The instance of <tt>Forward</tt> class.
*/
function ResponseContext(forward) {

    this.errors =  new ArrayList();
    this.models =  new HashMap();

    if (arguments.length) {

        this.init(forward);
    }
}
/**
* Initializes <tt>ResponseContext</tt>.
*
* @param {Forward} forward The instance of <tt>Forward</tt> class.
* @return <tt>ResponseContext</tt> object instance itself.
* @type ResponseContext
*/
ResponseContext.prototype.init = function (forward) {

    this.forward = forward;
    return this;
};

TROIKA.ASP - the MVC framework

www.troika-asp.com
Documentation generated on Sun Jun 15 17:59:32 2008