• 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: Combining EXTJS with WebObjects.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Combining EXTJS with WebObjects.


  • Subject: Re: Combining EXTJS with WebObjects.
  • From: Giorgio Valoti <email@hidden>
  • Date: Sat, 05 Sep 2009 11:58:14 +0200


Il giorno 04/set/09, alle ore 17:18, Mike Schrag ha scritto:

yes you would use the url generated by the Proxy component in an
XMLHttpRequest. An example using JQuery (I don't know prototype.js)
would be:

var ajaxActionUrl = "<webobject name=AjaxSimpleProxyActionUrl></ webobject>";

var postData = { "data" : $.toJSON( "a json formatted string eg {
"foo" : "bar" ) };
$.post(ajaxActionUrl, postData);

Note that the toJSON function is provided by a JQuery plugin.
You might want to also look at the ERXRouteRequestHandler ... I really should go back to the JSON stuff in Ajax framework and merge those concepts together better. The JSON generation in the ERXRoute API's is really nice.

Yeah, awesome stuff. It completed changed how I look and develop WO apps.


--
Giorgio Valoti

_______________________________________________
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


References: 
 >Combining EXTJS with WebObjects. (From: Gustavo Pizano <email@hidden>)
 >Re: Combining EXTJS with WebObjects. (From: John Bruce <email@hidden>)
 >Re: Combining EXTJS with WebObjects. (From: Gustavo Pizano <email@hidden>)
 >Re: Combining EXTJS with WebObjects. (From: John Bruce <email@hidden>)
 >Re: Combining EXTJS with WebObjects. (From: Mike Schrag <email@hidden>)

  • Prev by Date: Nested EOEditingContext Question
  • Next by Date: Re: Nested EOEditingContext Question
  • Previous by thread: Re: Combining EXTJS with WebObjects.
  • Next by thread: FOSS Reporting Libraries?
  • Index(es):
    • Date
    • Thread