Re: AJAX and WebObjects?
Re: AJAX and WebObjects?
- Subject: Re: AJAX and WebObjects?
- From: David Teran <email@hidden>
- Date: Mon, 13 Jun 2005 13:46:37 +0200
1) if you use ajax with component actions then you must consider this:
<click> -> webbrowser loads a new webpage from a woapp. This page has
component action links and ajax - component based links based
<click on ajax link>: parts of the page, maybe the content from a
wobrowser load new content based on the response from a component
action that was triggered by an ajax link.
<click on a traditional link>: from the webobjects app view this is a
backtrack because the user already invoked a component action from
that page, the ajax link.
So you really should not use component actions with ajax or similar
stuff.
A good library for this stuff is:
http://prototype.conio.net/
But you should use my patch, otherwise it simply does not work. I
send my patch to the author 2 month ago but he still did not fix his
library, version 1.2.0 is still buggy.
You can find an eclipse project as eclipse archive (use 'File ->
import' from menu in eclipse) here:
http://www.cluster9.com/download/xmlrpctest.zip
Feel free to drop me a line if you have questions.
cheers, David
On 11.06.2005, at 20:25, James Cicenia wrote:
You mean it's not in Project Wonder?! ;-)
-James Cicenia
On Jun 11, 2005, at 11:52 AM, email@hidden wrote:
Any more news on the Ajax front as I've been eyeing Ajax for a few
months but have done nothing with it. Looks like we could really
benefit from some WO/Ajax integration. I particularly liked this
article covering Rails and Ajax which really made me start
wondering about WO and Ajax:
http://www.onlamp.com/pub/a/onlamp/2005/06/09/rails_ajax.html
Thanks,
-George
On Apr 22, 2005, at 12:35 PM, Jean-François Veillette wrote:
I am.
My company is willing as well, but before we do, we have to make
sure the code is ready for public display.
I can't tell when we will be ready to publish, but one day, we will.
- jfv
Le 05-04-22, à 12:21, Nico Rossi a écrit :
Hi Jean-François:
Would you be willing to share your WO wrapper?
-Nico
On 4/22/05, Jean-François Veillette
<email@hidden> wrote:
Hi Hunter,
we use jsonrpc as our Ajax implementation.
We based our implementation on code provided at :
http://oss.metaparadigm.com/jsonrpc/
we have build a WO wrapper around it so that we just have to
drag-drop
that component (from a palette in WOBuilder) in your page, and
you get
all you need to do js->rpc->java.
It is quite powerfull and fit nicely in our developement model.
other resources :
http://jsolait.net
http://json-rpc.org/
- jfv
Le 05-04-22, à 02:09, Hunter Hillegas a écrit :
I am curious if anyone has done much AJAX (XMLHttpRequest +
DHTML/DOM
stuff) in conjunction with WebObjects. Anyone?
Clearly the 'read' type stuff is relatively simple.
I'm more interested in using forms/submissions with AJAX and
WO. Based
on what I've seen, WOF doesn't support anything like this
native and
I'd have to give up a lot of the 'for free' stuff in WO and
basically
deal with extracting form values and doing my magic there. Yes?
I guess we could extend Wonder to include an AJAXForm that
instead of
POSTing sent its data to the JS that then did the rest of the
work?
Just sort of thinking out loud here.
Ruby on Rails has great AJAX support. Literally just flip a
switch on
a property of their form and it submits via JS/XMLHttpRequest
instead
of a standard HTTP POST.
Anyway, I am interested in anyone's personal experience with this
stuff.
Hunter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
___________________________________________________________________
___
Post your free ad now! http://personals.yahoo.ca
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
--
=====================
Nico Rossi
email@hidden
=====================
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40southernohio.net
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40jimijon.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40cluster9.com
This email sent to email@hidden
_______________________________________________
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