[Zope] working with urls

Dieter Maurer dieter at handshake.de
Mon Jul 25 14:14:00 EDT 2005


Nicholas Wieland wrote at 2005-7-25 15:39 +0200:
>Now I'm rewriting urls by substituting the href attribute with custom data, and everything works fine.
>What I'd like is having an url like: myproduct/generate/20050301/PG2, and actually that's exactly what I've got. This url will make my app generate a pdf report for the ref_date 2005/03/01 and code PG2 (ref_date and code are internal data).
>Zope obviously maps the url as an object, but that's not what I want

Have a look at "PythonScript"s "traverse_subpath" binding.

I would expect that you find a description in the Zope Book
(2.7 edition, online).


-- 
Dieter


More information about the Zope mailing list