Author: ajborley
Date: Thu Feb 8 06:14:05 2007
New Revision: 504905
URL: http://svn.apache.org/viewvc?view=rev&rev=504905
Log:
Changes to Alert Aggregator sample to improve display in IE6. This change stops
IE caching the "GET" requests
Modified:
incubator/tuscany/cpp/sca/samples/AlertAggregator/httpserver/htdocs/index.html
Modified:
incubator/tuscany/cpp/sca/samples/AlertAggregator/httpserver/htdocs/index.html
URL:
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/AlertAggregator/httpserver/htdocs/index.html?view=diff&rev=504905&r1=504904&r2=504905
==============================================================================
---
incubator/tuscany/cpp/sca/samples/AlertAggregator/httpserver/htdocs/index.html
(original)
+++
incubator/tuscany/cpp/sca/samples/AlertAggregator/httpserver/htdocs/index.html
Thu Feb 8 06:14:05 2007
@@ -80,6 +80,7 @@
if(!callIsRunning)
{
xmlHttp.open("GET","rest/sample.display.DisplayComponent/HTMLDisplayService/getAlertsHTMLTable",true);
+ xmlHttp.setRequestHeader( "If-Modified-Since", "Sat, 1 Jan 2000 00:00:00
GMT" );
xmlHttp.send(null);
}
@@ -116,6 +117,7 @@
}
xmlHttp.open("GET","rest/sample.display.DisplayComponent/HTMLDisplayService/readAlert?alertID="+alertid,true);
+ xmlHttp.setRequestHeader( "If-Modified-Since", "Sat, 1 Jan 2000 00:00:00
GMT" );
xmlHttp.send(null);
}
@@ -139,6 +141,7 @@
}
}
xmlHttp.open("GET","rest/sample.display.DisplayComponent/HTMLDisplayService/getAlertSourcesHTMLTable",true);
+ xmlHttp.setRequestHeader( "If-Modified-Since", "Sat, 1 Jan 2000 00:00:00
GMT" );
xmlHttp.send(null);
}
@@ -196,6 +199,7 @@
}
}
xmlHttp.open("GET","rest/sample.display.DisplayComponent/HTMLDisplayService/deleteAlertSource?sourceId="+sourceid,true);
+ xmlHttp.setRequestHeader( "If-Modified-Since", "Sat, 1 Jan 2000 00:00:00
GMT" );
xmlHttp.send(null);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]