[Zope] Object without Undo?

Phil Harris Phil Harris" <phil@harris-family.info
Mon, 15 Apr 2002 11:59:04 +0100


You don't need PathHandler for that, Python Scripts and Page Templates are
able to do that with the traverse_subpath variable:

in a python script:

return traverse_subpath

in a page template:

<span tal:replace="traverse_subpath"/>

hth

Phil
----- Original Message -----
From: "Garikoitz Araolaza" <gari@eibar.org>
To: "Terry Hancock" <hancock@anansispaceworks.com>; <zope@zope.org>
Sent: Monday, April 15, 2002 11:50 AM
Subject: Re: [Zope] Object without Undo?


>
> Have you tried PathHandler ?
>
> It never gives a 404 error, and gives you a list with the URL that doesn't
> exist in your site.
>
> Let's say you name it Top
>
> So, when a user requests the URL  /Top/Computers/Software ,   Top will
give
> you  ['Computers','Software'] so you can use them in your program to do
> whatever you want...  ;-)
>
> You don't need to create Computers nor Software, they simply don't exist.
>
>
> Gari
>
> At 22:55 12/04/02, Terry Hancock wrote:
> >Well, I actually have more than one application, but the
> >simplest is a variable-size image:  You want to be able
> >to get at the image at a desired scale, and you may not
> >know what size you want in advance.  Furthermore, you
> >may decide in six months you don't like that size, and you
> >don't want to keep it that way, or you may want your
> >users to decide for themselves what size it should be.
> >Consider "avatars" -- usually square, but sizes vary from
> >50x50 to 100x100 or larger depending on the location. So
> >why not save them at 200x200 or so and then just deliver
> >to order?  E.g:
>
> _________________________________________________________
> Aurki Euskara hutsezko bilatzailea
> http://www.aurki.com
> Zure laguntza behar dugu. Egin zaitez editore!
>
>
>
> _______________________________________________
> 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 )