[Zope-CMF] Re: proposal for cmf:indexable directive

2005-09-13 Thread pete
in. Cheers, pete whit wrote: here is a sketch of how a working indexable configuration would look. Names subject to improvement. configure xmlns=http://namespaces.zope.org/cmf; xmlns=http://namespaces.zope.org/zope; adapter name=SearchableText for=IContent

[Zope-CMF] Re: CMFSetup

2005-09-20 Thread pete
Hi I've written the tests now, so hopefully mailhost and cookieauth can be scratched off the list. http://www.zope.org/Collectors/CMF/387 Is the collector the best place to put this? If not, let me know and I can post it elsewhere. pete pete wrote: Hi, In case it's useful, here's

[Zope-CMF] Re: [CMF-checkins] SVN: CMF/branches/1.5/C CMFSetup: added support fo

2005-09-22 Thread pete
Thanks that has made everything much clearer. I'll make sure I label clearly what conditions I've tested things under in future: I hadn't fully appreciated that the head might have different dependencies from the 1.5 branch, though the possibility seems obvious now you've pointed it out.

[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

[Zope-CMF] Five views / redirects

2005-10-17 Thread pete
this with a view: I don't want users to be able to access the templates directly, so I can't redirect between them, and the two templates are sufficiently different not to be combined together in an if-else type way. TIA pete ___ Zope-CMF maillist

[Zope-CMF] View classes / testing

2005-10-17 Thread pete
python scripts or whatever. And the templates have remained in the skins folder rather than moving somewhere new. Is this the general approach? Thanks, pete ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope

[Zope-CMF] Re: Five views / redirects

2005-10-19 Thread pete
tuesday_pt = ZopeTwoPageTemplateFile('tuesday.pt') def __call__(self): if self.isTuesday(): return self.tuesday_pt() return self.index() Thanks for this, it captures exactly what I wanted to do! It also means that the ZCML provides a clear picture of what

[Zope-CMF] Views / common templates

2005-10-29 Thread pete
form actions and buttons should go, and I definitely wanted to keep this detail in the view class rather than moving it elsewhere. What's the pattern to achieve what I've outlined with views? Has anyone else tried to do this? Am I trying to solve this problem the wrong way..? TIA, pete

[Zope-CMF] Action Name as TAL Expression

2005-07-14 Thread Pete Mawhinney
a couple of questions for the list. Is anyone aware of this creating a problem for backwards compatibility? Is this worth submitting as a feature request? Perhaps it is already covered by functionality we have not discovered. Cheers Pete -Original Message- From: Tom Dossis [mailto:[EMAIL