[Zope] Make hidden input

Lennart Regebro regebro at gmail.com
Thu Jul 7 11:12:14 EDT 2005


On 7/7/05, 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.

Well, then, whats the problem?! :-) (sorry)
 
> <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)">

<tal:block replace="structure python:mhi(delete_ids=results)" /> 
Seems more reasonable then just assigning it to a dummy variable,

Not that I have ever used make_hidden_input, mind you, I make <input
type="hidden" /> instead. Seems easier.

-- 
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the Zope mailing list