[Zope] Nested dtml tags
Patrick Decat
pdecat at gmail.com
Tue Jun 20 07:25:38 EDT 2006
Hi, no need for nested dtml :
<select name="MODLEVEL" size="1">
<option value="1"<dtml-if expr="MODLEVEL == '1'"> selected</dtml-if>>1</option>
<option value="2"<dtml-if expr="MODLEVEL == '2'"> selected</dtml-if>>2</option>
</select>
On 6/20/06, 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.
>
> Jon
>
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
More information about the Zope
mailing list