• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AjaxProxy and AjaxUpdateContainer co-operation fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: EOSortOrdering first null
  • Next by Date: Re: Webobjects-dev Digest, Vol 9, Issue 627
  • Previous by thread: AjaxProxy and AjaxUpdateContainer co-operation fails
  • Next by thread: Incremental build - development via Web adaptor
  • Index(es):
    • Date
    • Thread