Re: [Zope] Make hidden input

2005-07-07 Thread Andreas Jung
--On 7. Juli 2005 12:00:32 -0300 David Pratt [EMAIL PROTECTED] 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

Re: [Zope] Make hidden input

2005-07-07 Thread Lennart Regebro
On 7/7/05, David Pratt [EMAIL PROTECTED] 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

Re: [Zope] Make hidden input

2005-07-07 Thread Peter Bengtsson
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) br tal:replace=structure dummy / On 7/7/05, David Pratt [EMAIL

Re: [Zope] Make hidden input

2005-07-07 Thread David Pratt
Super, that solved the problem. I had googled and couldn't find an example of mhi. Only the api docs which didn't say very much about using it in a form. I guess it should have occurred to me to use structure if the output is html. Problem was that I hadn't actually seen an example of the