On Mar 10, 2009, at 7:47 AM, Gennady Kushnir wrote:

Hello all
I have a question. Is there a way to use AJAX in WebObjects other than
employing Wonder?

Yes but you'll end up re-inventing the wheel like I did.  :-)

I have rather large project and in fact I would not like to move it to
using Wonder.

I used to think that way.

You can use as little or as much of Wonder. That's what makes it so wonderful. :-)

The get Ajax, I think you need link against ERExtensions and subclass their ERXAjaxApplication and ERXAjaxSession.

But if you get there you might as well subclass ERXApplication and ERXSession instead since those already extend ERXAjaxApplication and ERXAjaxSession and will get you more.

I switched a small project that used my Ajax framework to Wonder as it is working quite well.

Then you want to use the Ajax enabled WO-components like AjaxUpdateContainer, etc. For that you link against the Ajax framework from project wonder.

So now you end up using ERExtensions and the Ajax framework. Just a couple of frameworks and you have Ajax enabled your application. Oh you may need ERJars too I think.

I use AJAX for some tasks not related to modifying already displayed
data on the page but in some cases it  would be better to refresh some
regions.
I have seen some methods regarding AJAX and PageFragment's in 5.4 API
reference. But there is no documentation on this.
Could you please point me on some documentation or instructions how to
make use or these capabilities.

I don't think there is any last I checked. I think Apple should adopt the core stuff in Wonder.

:-)


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to