Jens Vagelpohl wrote:

On Apr 12, 2005, at 1:02, Fernando Lujan wrote:

The URL "test1" in the form tag is obviously *not* generated by Zope. You put it in there manually. So it cannot work as you expect.

Hum, I see. Just web pages that aren't dinamically generated by Zope. For instance, other DTML document will not keep the Session. Is this correct?

No, you misunderstand what Chris said earlier. You need to let Zope generate the URL. In this case, instead of just saying...

<form action="test1">

you could do

<form action="<dtml-var "test1.absolute_url()">">

of course that's ugly because it looks like putting a tag inside a tag, ZPT is much nicer that way:

<form action="" tal:attributes="action here/test1/absolute_url">

Thanks, jens... Now I acquire my goal! ;)

Fernando Lujan

Zope maillist -
** No cross posts or HTML encoding! **
(Related lists - )

Reply via email to