Bertrand,

thanks for the quick reply.

on_change is handled client side:

- To know if on_change exist for a field you have to call "fields_get"
   on the model you are working on, this will give you a description for
   each field. But you probably already know it.

- This description (a dictionary) will eventually contains an
   on_change key associated with a list of field names. Then you have to
   do an rpc "on_change_field_name" and pass those fields.

Sorry, I'm getting close, but I'm unsure what to pass to the on_change handlers.

Also, IIRC proteus does handle this for your (or at least is it planned).

Heh! I thought Proteus requires direct database access, whereas I'm using xmlrpc. But looking closer I see there's an xml proxy! Cool.

I'll look into that one.



--
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

--
[email protected] mailing list

Reply via email to