[Zope3-dev] Hidden fields inside Schema Edit View....
Jim Fulton
jim at zope.com
Tue Jan 4 11:56:23 EST 2005
Craig Ewington wrote:
> I've created a view onto a content object. That view has a link to an
> edit view generated by the zope.app.form machinery. I'd like to provide
> a mechanism that returns the user to the original content view after
> they click 'Change' at the bottom of the edit form. Absent sessions
> (using I'm using the 3.0 release version ), one approach would be to
> propagate the url of the originating view using hidden fields. There's
> some precedent for this type of state propagation in the
> zope.app.form.editwizard.pt template.
>
> My difficulty is that a different template is used for the default edit
> view implementations - zope.app.form.edit.pt and it does not support
> hidden fields per se.
>
> a) Would it make sense to add hidden field support to
> zope.app.form.edit.pt?
How would this work? Would you specify fields to be preserved in
zcml?
Jim
--
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Zope3-dev
mailing list