[BlueBream] Javascript

Baiju M baiju.m.mail at gmail.com
Sat Mar 27 12:36:55 EDT 2010


On Thu, Mar 25, 2010 at 3:19 PM, Ilshad Khabibullin
<astoon.net at gmail.com> wrote:
>
> On Thu, Mar 25, 2010 at 1:46 AM, Paul Harouff <pharouff at gmail.com> wrote:
>>> I still don't understand the difference between @@ = ++view++ on the
>>> first page and @@ = ++resource++ on the second page.
>
> Follow lines are the same plain browser view:
>
> http://localhost:8080/folder/index.html
> http://localhost:8080/folder/++view++index.html
> http://localhost:8080/folder/@@index.html
>
>
> Follow lines are getting registered resource `logo.png':
>
> http://localhost:8080/++resource++logo.png
> http://localhost:8080/@@/logo.png
>
>
> or (for registered resource directory `images'):
>
> http://localhost:8080/++resource++images/logo.png
> http://localhost:8080/@@/images/logo.png
>
>
> It's syntax sugar. For difference note the slash after @@.

Thanks Ilshad for the explanation.

We need to update this FAQ entry, any takers ?
http://bluebream.zope.org/doc/1.0/faq.html#what-s-the-deal-with-the-syntax

Regards,
Baiju M


More information about the bluebream mailing list