[Zope] parameters do not pass from form?

Andreas Jung lists at andreas-jung.com
Sun Oct 13 02:53:12 EDT 2002


--On Samstag, 12. Oktober 2002 23:34 +0200 WER3w0LF <rfc822 at polspam.info> 
wrote:

> I installed ZOPE 2.5.1 for Win32 and I cannot receive parameters from
> my form file as the following.
>
> file testForm:
> -------------
> <dtml-var standard_html_header>
> <form action="testAction" method="post">
> <input type="text" name="parametr" />
> <input type="submit" />
> </form>
> <dtml-var standard_html_footer>
>
> file testAction:
> -------------
> <span tal:replace parametr>blah</span>
>
> Whatever I write down as parametr in my form I receive only "blah".
> Why my testAction cannot see variables from testForm?
>

That's because you did not read the ZPT documentation.

Try
<span tal:replace="parametr">blah</span>
instead.

And please avoid cross postings to other lists. Especially your
question is *not* a subject for the python mailing list.

-aj





More information about the Python-list mailing list