Hi all,
here is a javascript-code from my ajax-Test-component
(within a freemarker-file):
<script language="JavaScript" type="text/javascript">
function getAjaxValues() {
var requestUrl = '<@ofbizUrl>ajaxtest</@ofbizUrl>';
alert("requestUrl:"+ requestUrl);
}
</script>
The alert-message shows this:
requestUrl:
http://localhost:8080/ajaxtest/control/ajaxtest;jsessionid=AAF4338719D51623AE7F2F99B468997D.jvm1As a consequence of this an ajax call with this does find
the correct page (the corresponding request-map will not be called
with the jsessionid... appendix to the requestUrl).
Is there anything wrong with my @ofbizUrl - call?
I copied it from freemarker code in the accounting module.
Thank you for answers!
Ralf