[Zope] Page template, acquisition and friends ...

Dieter Maurer dieter@handshake.de
Wed, 31 Jul 2002 23:20:39 +0200


=?iso-8859-1?Q?Nicolas_=C9vrard?= writes:
 > This is my first post to this mailing-list, and I wish to say that I
 > find Zope incredibly usefull ... it makes me do my very first website.
 > 
 > Any way, I've got a python module which parse a file containing recipes,
 > I asume I'll write an ExternalMethod that will take an argument and
 > return a structire (a dictionnary) with all the relevant informations.
I expect, your ExternalMethod is "GetRecipe" ?

 > I did a small page template that show all these informations.
 > 
 > What I want to do is to show the recipe by calling this url :
 > 
 > GetRecipe/My Recipe/show_recipe.zpt (I suppose I'll have to encode the
 > space too).
 > 
 > is this possible ??
If you answer my question above with "yes", my answer will be "no", it is
not possible.

"GetRecipe" must be a "traversable" object for "GetRecipe/My_Recipe" to
work. It might be done with a Python Script and its "traversal_subpath"
feature. Read about it in (e.g.) the Zope Book.
It is not very easy, maybe not the best starting task.


Dieter