object.... from name
Hi all... well, I think this is a quite simple problem.... In a method, I want to apply an external method to a ZObject stored in the Folder: <dtml-var "CreeDetailBiblio(Special object)"> the fact is that I have the object name through the Query_string, so I tried: <dtml-var "CreeDetailBiblio(QUERY_STRING)"> which does not work.... that is clear.... as this is a string, and not my object itself how can I can find the object itself, to use it as an argument of my fonction, from its name, which is stored in the query string? I think this is very simple..... but I don't find the documentation.... Thanks for your attention
hi, try <dtml-var "CreeDetailBiblio(_[QUERY_STRING])"> and section about indirection in http://www.zope.org/Documentation/How-To/AdvancedDTML ----- Original Message ----- From: "Pierre Rougier" <prougier@ina.fr> To: <zope@zope.org> Sent: Wednesday, May 31, 2000 4:19 PM Subject: [Zope] object.... from name
Hi all... well, I think this is a quite simple problem.... In a method, I want to apply an external method to a ZObject stored in the Folder:
<dtml-var "CreeDetailBiblio(Special object)">
the fact is that I have the object name through the Query_string, so I tried:
<dtml-var "CreeDetailBiblio(QUERY_STRING)">
which does not work.... that is clear.... as this is a string, and not my object itself
how can I can find the object itself, to use it as an argument of my fonction, from its name, which is stored in the query string?
I think this is very simple..... but I don't find the documentation....
Thanks for your attention
_______________________________________________ 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 )
participants (2)
-
Pierre Rougier -
Vitaly Osipov