Does anybody know if it is possible to programatically set the sort
parameter in something like: <dtml-in getAllComments sort=fwd_thread>
It's the fwd_thread in "sort=fwd_thread" i want to set via dtml to avoid:
<dtml-if "sortBy=='fwd_thread'">
<dtml-in getAllComments sort=fwd_thread>
Do sorted stuff
</dtml-in>
<dtml-elif "sortBy=='author'">
<dtml-in getAllComments sort=author>
Do sorted stuff
</dtml-in>
etc.
etc.
</dtml-if>
Or alternativley, is it possible to use the sort from dtml-in in a Python
Product as a method on the list that getAllComments() returns?
Yes I could roll my own but it would be easier to use Zope's, if I knew how
to.
regards Max M
Max M. W. Rasmussen, Denmark. New Media Director
private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]
-----------------------------------------------------
Specialization is for insects. - Robert A. Heinlein
_______________________________________________
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 )