On Mon, 2007-19-03 at 21:53 -0700, iain duncan wrote:
> I'm trying to figure out how to use the remote form, but following the
> tutorial is not working for me. I get a response ok, but it refreshes
> the whole page and then there is a javascript error "remoteFormRequest
> not defined"
> 
> Can anyone tell me in a nutshell what is supposed to be in the
> javascript and how it works? Is there a doc anywhere on what is going on
> under the hood with remote form? 

Ok, by grepping the eggs I figured out I could include ajax.js to get
things going. But, usually when I figure it out myself, I come up with
some roundabout rube goldberg solution. ;)

I have figured out how to get my js function to fire on response, and
how to get the remote form updating a dom element. But is there a
straightforward way to get the remote form to send its response directly
to a js function the way one can with a mochikit deferred? Otherwise I
suppose I will have the js remote callback interrogate a hidden element,
but that seems a bit convoluted.

I am also curious as to why I am not able to send a string out as the
response but need to wrap it in some html.

Thanks
iain



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to