[Zope] Pass objects from template to template via HTML forms.
Andreas Pakulat
apaku at gmx.de
Mon Jul 4 17:16:41 EDT 2005
On 04.Jul 2005 - 22:53:58, Negroup - wrote:
> Is there some way to pass an object from template A to template B via
> HTML forms?
>
> A
> <form name="a" action="b" method="post">
> <input type="hidden" name="obj" tal:attributes="value here" />
> <input type="submit" value="Press" />
> </form>
>
> B
> <b tal:content="structure here/REQUEST"></b>
>
> Template B prints:
> form
> obj '<OrderedFolder instance at 42d9aec0>'
>
> I need the object itself, not the string representing the object!
You do get the object itself when you access REQEUST['obj'], only in
HTML you get something like the above, as that's what the string
represenation of obj is.
Andreas
--
Try to relax and enjoy the crisis.
-- Ashleigh Brilliant
More information about the Zope
mailing list