4 Jul
2005
4 Jul
'05
9:16 p.m.
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