Re: [Zope-CMF] Re: Working with Zope 3 skin layers

2008-05-28 Thread Charlie Clark
Am 27.05.2008 um 16:48 schrieb Philipp von Weitershausen: Right. This will look up the 'detail.html' view for (context, request). Now it depends on what layers the request has applied to. Unless you've changed anything in the default skin configuration, it will have Zope's default skin.

[Zope-CMF] Re: Working with Zope 3 skin layers

2008-05-28 Thread Philipp von Weitershausen
Charlie Clark wrote: What I think is still confusing me is: 1) I have created my dedicated skin 2) I have registered a view for that skin I assumed that by registering the view for the skin, the view would automatically use the right layer when called. Views don't use layers. You apply a

Re: [Zope-CMF] Re: Working with Zope 3 skin layers

2008-05-28 Thread Charlie Clark
Am 28.05.2008 um 13:02 schrieb Philipp von Weitershausen: Views don't use layers. You apply a skin layer to the request, and depending on whether the view was registered for this skin layer or any of the layers that are contained in that skin layer, the view will be found. Thanks,

[Zope-CMF] Re: Working with Zope 3 skin layers

2008-05-28 Thread Philipp von Weitershausen
Charlie Clark wrote: Am 28.05.2008 um 13:02 schrieb Philipp von Weitershausen: Views don't use layers. You apply a skin layer to the request, and depending on whether the view was registered for this skin layer or any of the layers that are contained in that skin layer, the view will be

[Zope-CMF] Re: Working with Zope 3 skin layers

2008-05-27 Thread Philipp von Weitershausen
Charlie Clark wrote: I've defined and configured a layer and it works when called by ++skin++ traversal but I have problems if I configured views to work with it explicitly: I get not found errors. ie. browser:page for=Products.Charlie.event.interfaces.IEventDetail