Re: AjaxProxy and AjaxUpdateContainer co-operation fails
Re: AjaxProxy and AjaxUpdateContainer co-operation fails
- Subject: Re: AjaxProxy and AjaxUpdateContainer co-operation fails
- From: Damian Stasiak <email@hidden>
- Date: Thu, 19 Jul 2012 10:18:39 +0200
My ajax request returns:
<script>ASB.observeField('tableRow1', 'type1', null, false, null, {_asbn:'0.0.2<script type="text/javascript">
var type1 = new JSONRpcClient("/cgi-bin/WebObjects/MyApp.woa/ajax/166.0.0.25.3.1.15.0.3.3.7.3.1.3.3.1.1.1.3.1.1.1.1.7.0.1.19.0.0.5");
</script>5.3.1.15.0.3.3.7.3.1.3.3.1.1.1.3.1.1.1.1.7.0.1.9'});</script>
It should append
<script type="text/javascript">
var type1 = new JSONRpcClient("/cgi-bin/WebObjects/MyApp.woa/ajax/166.0.0.25.3.1.15.0.3.3.7.3.1.3.3.1.1.1.3.1.1.1.1.7.0.1.19.0.0.5");
</script> to head but unfortunately it tries to append it inside of other script
This part of code:
AjaxUtils.addScriptCodeInHead(
res,
context(),
"var " + name + " = new JSONRpcClient(\"" + AjaxUtils.ajaxComponentActionUrl(context()) + "\");");
from AjaxProxy doesn't do what it should. Any ideas?
--
Damian Stasiak
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden