[Zope] Instantiate dynamically an <dtml-in> attribute ?

Casey Duncan casey@zope.com
Wed, 10 Apr 2002 13:19:01 -0600


You can use sort_expr to pass the name(s) to sort on dynamically. ie:

<dtml-in objectValues sort_expr="REQUEST.sort">
...
</dtml-in>

hth,

-Casey

FR Chalaoux wrote:
> Hi,
> 
> How is is possible, in dtml, to instantiate an <dtml-in> attribute
> dynamically ?
> 
> Ex: <dtml-in ObjectValues sort=<a dynamic attribute name of ObjectValues> >
> 
> FR
> 
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )
> 
>