[Zope3-dev] context/@@absolute_url

Steve Alexander steve@cat-box.net
Wed, 11 Dec 2002 15:48:02 +0000


Guido van Rossum wrote:
> In a recent checkin, I saw this idiom:
> 
> +    <a href="configure/42"
> +       tal:attributes="href context/@@absolute_url">
> 
> Can anyone explain the context/@@absolute_url idiom?  Is it similar to
> view/absolute_idiom?

The '@@' bit means 'the following path segment is to be interpreted as 
the name of a view'. The '@@' looks a bit like a pair of comic-book eyes.

So, this is just the same as 'views/absolute_url'.

--
Steve Alexander