Message-ID: <[EMAIL PROTECTED]>
Priority: NORMAL
X-Mailer: Execmail for Win32 5.1 Build (9)
MIME-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
> You can use something like:
>
> <dtml-if "orderby=='firstname'">
> <dtml-in "sql_search(search='foo')" sort=firstname>
> <dtml-elif "orderby=='lastname'">
> <dtml-in "sql_search(search='foo')" sort=lastname>
> </dtml-if>
Hmm, that chokes, becuase it thinks the </dtml-if> tag is inside the
<dtml-in> I think.
AndyG
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )