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 _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )