[Zope] Form-Through-Script

Andreas Jung lists at zopyx.com
Tue Aug 14 00:43:52 EDT 2007



--On 13. August 2007 17:40:35 -0400 tonylabarbara at aol.com wrote:

>
> I would LOVE to do that. I don't know how :( Can you point me to a good
> tutorial or explain this a bit and give me some KW to chase down in
> google?
>

Tony, please think about what you're doing for a moment.

If you want to call a method or a script XXX inside Zope through a form
where the method expects parameters A and B then you have to write:

<form action="XXX" method="get|post">

<input type="hidden" name="A" tal:attributes="value 
context/some_method_providing_a" />
<input type="hidden" name="B" tal:attributes="value 
context/some_method_providing_b" />

Now apply this knowledge to your usecase. Check your _generated_
code twice if all requirements are fulfilled.

-aj



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070814/01b9a596/attachment.bin


More information about the Zope mailing list