John,
We are using your method and it works great.
The only change I've introduced is a parameter to specify the servlet to=20
call from within de ajax call, beacuse all of our client functionality=20
is in a separate servlet (in fact, our client pages are not servlets,=20
but regular html files served by apache, not WebKit).
Ed.
John Dickinson wrote:
> I written one that I use in our main web application. In my opinion,=20
> it's really easy to use. The idea is that the javascript only needs to=20
> be written once and everything else is handled in pure python in a=20
> webware-ish way.
>
> The code is not hosted anywhere right now, but I'd be more than happy=20
> to post it here as a couple of attachments (combined size is just over=20
> 7000 bytes).
>
> --John
>
> Eduardo Elgueta wrote:
>
>> Hi All,
>>
>> Does anybody knows about a good AJAX framework suited to Python?
>>
>> I found about OpenRico (http://wiki.w4py.org/ajaxservlet.html) but I=20
>> have no references about it. Is it good? Is it feature/component=20
>> rich? Has anybody used it?
>>
>> Thank you all.
>>
>> Ed.
>>
--=20
Eduardo Elgueta
Senior Consultant
Navix
correo/email: eelgueta@...
tel=E9fono/phone: +56 (2) 381-1467
celular/mobile: +56 (9) 821-0033
web: http://www.navix.cl
Av. Once de Septiembre 1945 Of. 502
Providencia 750-0503
Santiago, Chile
|