22 Jun
2009
22 Jun
'09
9:13 a.m.
On Jun 21, 2009, at 3:38 PM, Laurence Rowe wrote:
Jim Fulton wrote:
I don't agree. The semantics are different. For example, you often want to traverse to things in a template that you don't want to expose via URL. We currently (or last time I checked) expose ++resource+ +name in URLs and this is a bug.
What use is a resource without being URL accessible? It's used fairly often in Plone products to expose static css / js / images.
The way to access a resource in a URL is <site>/@@/name, as Hanno mentioned. The ++resource++name form is intended for use in ZPT paths. It can be used anywhere in a path, which defeats effective caching of resources. Jim -- Jim Fulton Zope Corporation