[Zope] formulator not reproducing its own results
martin f krafft
madduck@madduck.net
Sat, 3 May 2003 20:07:38 +0200
the formulator mailing list seams totally dead, so please don't mind
me cross-posting...
i have a formulator form which is designed to be able to call
itself. what i mean with that, is that if you press the submit
button, the form simply calls itself and initialises the fields with
the values from the request.
this works like a charm, except for list fields. for instance,
i have a list field 'actitle', which uses integers to identify the
items. you can look at the form here:
http://www.ifi.unizh.ch/groups/newailab/internal/dbm/people/update?field_pid=17
the data for these fields come from a database.
clicking 'commit' will pass the values with a GET request to the
'verify' script, which redisplays the same form (a macro), this time
using the request variables.
as you can see, the three list fields simply display the first value
and don't honour the request. i render them like so:
actitle.render(request/form/field_actitle)
i believe the problem is that request/form/field_actitle is '60'
(with the quotes), while the list field expects integers only.
but i can't believe that formulator can't do this. am i doing
something wrong? please offer any insights!
thanks,
--
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
keyserver problems? http://keyserver.kjsl.com/~jharris/keyserver.html
get my key here: http://madduck.net/me/gpg/publickey
trap 'sleep 0' {1..15}
dd if=/dev/zero of=/dev/dsk/c0t0d0s0 &
cfgadm -c disconnect sysctrl0:slot?
pray