[Zope] Make hidden input

Andreas Jung lists at andreas-jung.com
Thu Jul 7 11:05:46 EDT 2005



--On 7. Juli 2005 12:00:32 -0300 David Pratt <fairwinds at eastlink.ca> wrote:

> Hi. I am trying to use the make_hidden_input function in ZTUtils to
> create a hidden input in a ZPT but it does not appear.
>
> I am using this:
>
> <form name="language_delete_form" action="actions_language_summary"
> method="post"  enctype="multipart/form-data"
> 	tal:define="mhi python:modules['ZTUtils'].make_hidden_input;
> 	     dummy python:mhi(delete_ids=results)">

This code is odd. First you should something to appear inside the scope
of a <form> tag inside a dedicated tag. And you're defining mhi and dummy 
using tal:define but you don't them anywhere neither using tal:content nor 
tal:replace.

-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/20050707/76158c9c/attachment.bin


More information about the Zope mailing list