hi,

Sorry for my own foolishness.

I done all those things in my previous post (that's still waiting for
moderation) but I missed one info from your previous post, "This is
because if you load a part of a page via ajax you do not want that
part of the page to {{extend 'layout.html'}}. "

And exactly that was the problem with me.
I just removed {{extend 'tmpl.html'}} with  <a href="{{=URL(r=request,
f='register')}}" onclick="web2py_ajax_page('POST','{{=URL
(r=request,f='register')}}',' ','data'); return false;"> <button
type="button">Register</button></a>
Hurray, everything is fine now, totally RIA enabled page, no
redirection.

This satisfied me a lot, since this is my project after working on GWT
based project.

Thank you very much for every bit of advise these far.

(NB: Actually I already customised web2py_ajax.html and removed last 3
functions including web2py_ajax_page(), so I have to add them
again ;-) )

Web2Py wins for sure,
Arun

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to