Author: thorsten
Date: Mon Oct 31 01:33:34 2005
New Revision: 329789
URL: http://svn.apache.org/viewcvs?rev=329789&view=rev
Log:
fixed the ajax-example that have been moved to the project which made it
necessary to request it in a different way.
Modified:
forrest/trunk/main/template-sites/v2/src/documentation/resources/themes/default/html/ajax-example.ft
Modified:
forrest/trunk/main/template-sites/v2/src/documentation/resources/themes/default/html/ajax-example.ft
URL:
http://svn.apache.org/viewcvs/forrest/trunk/main/template-sites/v2/src/documentation/resources/themes/default/html/ajax-example.ft?rev=329789&r1=329788&r2=329789&view=diff
==============================================================================
---
forrest/trunk/main/template-sites/v2/src/documentation/resources/themes/default/html/ajax-example.ft
(original)
+++
forrest/trunk/main/template-sites/v2/src/documentation/resources/themes/default/html/ajax-example.ft
Mon Oct 31 01:33:34 2005
@@ -43,7 +43,7 @@
<script type="text/javascript">
function preview(div){
$(div).innerHTML="please stand by";
- var url =
'http://localhost:8888/less.contract-ajax-example.xml';
+ var url =
'http://localhost:8888/less.contract.project-ajax-example.xml';
new Ajax.Updater({success: div}, url, {method: 'get',
onFailure: reportError});
}
function reportError(request){
@@ -58,7 +58,7 @@
</div>
<p>
This is an example how to use AJAX in forrest. The <a
href="javascript:preview('testDiv')">test</a>
- will update the testDiv with the output of url =
'http://localhost:8888/less.contract-ajax-example.xml';
+ will update the testDiv with the output of url =
'http://localhost:8888/less.contract.project-ajax-example.xml';
</p>
<div id="testDiv">testDiv</div>
</xsl:template>