Re: [Zope-CMF] Re: problem creating Five views for CMF

2005-10-14 Thread Jens Vagelpohl
On 14 Oct 2005, at 08:55, sureshvv wrote: Jens Vagelpohl wrote: On 13 Oct 2005, at 11:39, pete wrote: I'll work on converting more content types along the same lines over the next few days on a svn branch. Can you write-up a brief HOW-TO also please? There can't be any howto until

[Zope-CMF] Re: problem creating Five views for CMF

2005-10-14 Thread sureshvv
Jens Vagelpohl wrote: On 14 Oct 2005, at 08:55, sureshvv wrote: Jens Vagelpohl wrote: On 13 Oct 2005, at 11:39, pete wrote: I'll work on converting more content types along the same lines over the next few days on a svn branch. Can you write-up a brief HOW-TO also please? There

[Zope-CMF] Re: problem creating Five views for CMF

2005-10-13 Thread pete
Hi, -- five:traversable class=Products.CMFDefault.Link.Link / browser:view for=Products.CMFDefault.interfaces.ILink name=link_view class=.linkviews.LinkDisplayView permission=zope2.View browser:page name=index.html

[Zope-CMF] Re: problem creating Five views for CMF

2005-10-13 Thread pete
Jens Vagelpohl wrote: On 13 Oct 2005, at 09:53, pete wrote: -- five:traversable class=Products.CMFDefault.Link.Link / browser:view for=Products.CMFDefault.interfaces.ILink name=link_view class=.linkviews.LinkDisplayView

Re: [Zope-CMF] Re: problem creating Five views for CMF

2005-10-13 Thread Jens Vagelpohl
On 13 Oct 2005, at 11:39, pete wrote: From a first look, I think it will have inserted the name 'index.html' on the view class, so if you type /address/to/link/ index.html then you should get the template. Tried that, same failure... bah! Next attempt - I copied an example from Five

Re: [Zope-CMF] Re: problem creating Five views for CMF

2005-10-13 Thread Jens Vagelpohl
On 13 Oct 2005, at 11:39, pete wrote: bah! Next attempt - I copied an example from Five to get started and it Just Worked, so you must be close! Should it not be browser:pages rather than browser:view? And I'm not sure it should have a name=link_view in the containing definition as that