Re: A little bit of Ajax in a 5.3 app?
Re: A little bit of Ajax in a 5.3 app?
- Subject: Re: A little bit of Ajax in a 5.3 app?
- From: Patrick Middleton <email@hidden>
- Date: Tue, 26 Feb 2008 15:34:08 +0000
On 26 Feb 2008, at 15:18, Ken Anderson wrote:
Everyone,
I have a 5.3 app using stable WOLips that has hundreds of
components and does not currently use Wonder. I have a few sub-
components that have multiple dependent pop-ups, and I do a submit
(); onChange on those pop-ups to refresh the page.
Unfortunately, the pages have gotten pretty big, and the constant
refresh is getting tedious. I was wondering if anyone has a road-
map where I can use a tiny bit of Ajax in a single sub-component to
improve the user experience (it's a maintenance app...so
User==Me). I don't have a ton of time, and can't really risk
moving to 5.4 or reworking the entire app.
Any thoughts?
Thanks,
Ken
Use a DirectAction.
Work it up from first principles after reading http://
developer.apple.com/internet/webcontent/xmlhttpreq.html .
Simplify the example by removing XML namespaces.
Use the '<![CDATA[ ... ]]>' construct to wrap any HTML content
returned in your response to prevent XMLHttpRequest and friends from
trying to parse it as XML.
WO 5.3? I got this working without too much trouble in WO 4.5.1 .
Hope this helps!
--
Patrick Middleton
OneStep Solutions plc
351 London Road Phone: +44 (0)1702 426400
Hadleigh Fax: +44 (0)1702 556855
Essex. SS7 2BT Email: email@hidden
England (MIME welcome)
_______________________________________________
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