[Zope3-Users] Formlib: passing default values
srichter at cosmos.phy.tufts.edu
Mon Jan 8 03:01:15 EST 2007
On Monday 04 December 2006 08:57, Dennis Schulz wrote:
> How can I provoke that a display field is also included in the field set?
> Is there a way to provoke the getInput or something?
> This problem I only have with AddFormbase.
> EditFormbase works fine.
I think you might be setting the rendered value incorrectly. After the widgets
are created, I would try to set it to read_only = True (or something like
that) and call setRenderedValue(value). This should force the widget to be
rendered as hidden with the correct value.
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-users