[Zope] Nested dtml tags

Andreas Jung lists at zopyx.com
Tue Jun 20 07:23:18 EDT 2006



--On 20. Juni 2006 12:15:40 +0100 Jonathan Bowlas <me at jonbowlas.com> wrote:

> Hi All,
>
> How can I do this with dtml?
>
> <select name="MODLEVEL" size="1">
> 	<dtml-if expr="<dtml-var name="MODLEVEL"> == 1"> #I need an
> alternative to this.
> 		<option value="1" selected="selected">1</option>
> 		<option value="2"><2</option>
> 		Etc, etc.
>
> Hope someone can help.
>

Is there a real need for you to use DTML instead of ZPT?

-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/20060620/8108e8e5/attachment.bin


More information about the Zope mailing list