[Zope] javascript / python /populate fields from db

Exteam exteam6@yahoo.co.in
Wed, 23 Jul 2003 10:12:26 +0100 (BST)


Hi all,

This list is really wonderful, as I can solve most of
my issues so fast, that I am amazed. 

Well I need more help...

My requirement is to populate three fields (coming
from formulator) in a ZPT file. The first field has a
drop down and should get data from db using pyhton. 
The next 2 fields should populate themselves with the
corresponding columns from the database.

It seems to me that javascript is the only choice? Am
I correct in this assumption? If yes, are there any
options on how to use it in this scenario? Does python
(server side) "talk" directly to javascript(client
side)? Maybe python generates the javascript on the
fly?

Are you aware of any examples using this approach  on
the web?

Any comments would be helpful...

Thanks
Harish

________________________________________________________________________
Send free SMS using the Yahoo! Messenger. Go to http://in.mobile.yahoo.com/new/pc/