//================================= CLASS CONSTRUCTOR ========================================
function EventMediatorIterRoot()
{
//MEMBER VARIABLES
//JSPs that currently use this mediator ...
 this.page = null;
 this.tableFrm = null;

 this.initialize();
}

//====================================== STATIC ==============================================
//CONSTANTS

//====================================== MEMBERS =============================================
EventMediatorIterRoot.prototype.setDefaults = function()
{
 this.page = null;
 this.tableFrm = null;
}

EventMediatorIterRoot.prototype.initialize = function()
{
 this.setDefaults();
}

EventMediatorIterRoot.prototype.registerPage = function(ipage)
{
 this.page = ipage;
}

//SOURCE:  | TARGET: page.jsp
EventMediatorIterRoot.prototype.canLoadContent = function()
{
 if (this.page == null)
  return false;
 return true;
}

EventMediatorIterRoot.prototype.onLoadContent = function(ipath,iparams)
{
 if (!this.canLoadContent())
  return false;
 this.page.loadContent(ipath,iparams);
 return true;
}

EventMediatorIterRoot.prototype.finalize = function()
{
 this.setDefaults();
}
