[Zope] RE: [ZPT] Formulator Problem

Paul Winkler pw_lists@slinkp.com
Fri, 1 Nov 2002 07:40:04 -0800


On Fri, Nov 01, 2002 at 03:51:31AM -0400, beno wrote:
> ><span tal:content="request/form/your_name">  Your Name Here </span>
> 
> doesn't work! In this example, *form* is the Formulator form.

Do you mean that you replaced the word "form" with the name
of your formulator form?
That's wrong.
request is a dictionary.
"form" is a key in that dictionary.
The value of "form" is another dictionary containing variables.

Try making the target page a page template containing only this:
<span tal:replace="structure request"> </span>

Zope will nicely format everything that's in the request variable.
You'll see that there's a section called "form".

p.s. you should reply to the list, not individuals.

-- 

Paul Winkler
http://www.slinkp.com
"Welcome to Muppet Labs, where the future is made - today!"