Mario Carina writes:
 > I need to extract, form my metapublisher object, one of my entrys
 > randomly.
 > i have found this command but it's good for some static pages.
 > <!--#var expr="_.whrandom.choice(glossario.objectValues())"-->
It is good for any sequence.

Learn how to get a sequence from MetaPublisher (I do not know it,
but it will not be difficult) and apply the "choice" function
to it.


Dieter


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to