All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.adf.jsLibs.Page.js Maven / Gradle / Ivy

There is a newer version: 2.2.1
Show newest version
function TrPage()
{
this._loadedLibraries=TrPage._collectLoadedLibraries();
this._requestQueue=new TrRequestQueue(window);
}
TrPage.getInstance=function()
{
if(TrPage._INSTANCE==null)
TrPage._INSTANCE=new TrPage();
return TrPage._INSTANCE;
}
TrPage.prototype.getRequestQueue=function()
{
return this._requestQueue;
}
TrPage.prototype.sendPartialFormPost=function(
a0,
a1,
a2)
{
this.getRequestQueue().sendFormPost(
this,this._requestStatusChanged,
a0,a1,a2);
}
TrPage.prototype._requestStatusChanged=function(a3)
{
if(a3.getStatus()==TrXMLRequestEvent.STATUS_COMPLETE)
{
var a4=a3.getResponseStatusCode();
if(a4==200)
{
_pprStopBlocking(window);
if(a3.isPprResponse())
{
var a5=a3.getResponseXML();
if(a5!=null)
{
this._handlePprResponse(a5.documentElement);
}
}
else
{
}
}
else if(a4>=400)
{
_pprStopBlocking(window);
}
}
}
TrPage.prototype._handlePprResponse=function(a6)
{
var a7=TrPage._getNodeName(a6);
if(a7=="content")
{
this._handlePprResponseAction(a6);
var a8=a6.childNodes;
var a9=a8.length;
for(var a10=0;a10




© 2015 - 2025 Weber Informatics LLC | Privacy Policy