[Zope-CMF] Re: Current action and action aliases

Dieter Maurer dieter at handshake.de
Sat Oct 11 14:41:56 EDT 2003


Yuppie wrote at 2003-10-10 21:50 +0200:
[Y]
 > >  > The current page is requested by an absolute 
 > >  > URL. So I think in theory the simplest and best solution would be to 
 > >  > compare URLs. If they are identical, the Action is the current Action.

[DM]
 > > Not sure about this...

[Y]
 > Why not? (given we care also about the queries and maybe anchors)

[DM] I think the primary aim was to highlight the currently shown action of
an object. Something like this is not categorized by an absolute URL
but by an URL suffix.

 > ..

[Y]
 > >  > Maybe the VHM should add a key like VIRTUAL_URL that isn't changed on 
 > >  > traversal like URL.

[DM]
 > > There is "PATH_INFO", the unprocessed URL as requested from Zope.
 > > It may, of course, contain the path components controlling the VHM.

[Y]
 > Yes. The VHM components are the problem. And maybe the missing query 
 > component.

[DM]
The query string is available as "request/QUERY_STRING".


Dieter



More information about the Zope-CMF mailing list