[Zope-CMF] Re: Five views / redirects

2005-10-18 Thread yuppie
Victor Safronovich wrote: Hello Chris Withers, Tuesday, October 18, 2005, 4:24:29 PM, you wrote: CW> yuppie wrote: def __call__(self): if self.isTuesday(): return ZopeTwoPageTemplateFile('tuesday.pt').__of__(self)() return self.index() CW> Surely the followin

[Zope-CMF] Re: Help with Frostbite

2005-10-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 robert rottermann wrote: > do you have SpeedPack installed? > then you can not add any elements but the two types you mentioned. > > I had the same situation, and helped myself by adding the frostbyte > stuff to a directory in custom. > You the have

Re[2]: [Zope-CMF] Re: Five views / redirects

2005-10-18 Thread Victor Safronovich
Hello Chris Withers, Tuesday, October 18, 2005, 4:24:29 PM, you wrote: CW> yuppie wrote: >> def __call__(self): >> if self.isTuesday(): >> return ZopeTwoPageTemplateFile('tuesday.pt').__of__(self)() >> return self.index() >> CW> Surely the following is going to b

Re: [Zope-CMF] Re: Five views / redirects

2005-10-18 Thread Chris Withers
yuppie wrote: def __call__(self): if self.isTuesday(): return ZopeTwoPageTemplateFile('tuesday.pt').__of__(self)() return self.index() Surely the following is going to be better? tuesday_pt = ZopeTwoPageTemplateFile('tuesday.pt') def __call__(self):

[Zope-CMF] Re: View classes / testing

2005-10-18 Thread yuppie
Hi pete! pete wrote: I've been looking at making a view class for the RSS syndication in CMFDefault, and I've got all the forms and templates working fine. Great! So now it's on to testing! Has anyone written many tests for a view class? I'm not quite sure how to set the tests up, i.e.

Re: [Zope-CMF] Help with Frostbite

2005-10-18 Thread Chris Withers
robert rottermann wrote: do you have SpeedPack installed? You could always remove that garbage ;-) Frostbite is likely going to be a bigger win, and better written too... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk _

[Zope-CMF] Re: Five views / redirects

2005-10-18 Thread yuppie
Hi pete! pete wrote: Sorry in advance if this is a dumbo question, Not at all. As you can see from other discussions on this list there are still no generally accepted patterns for using views in CMF. but I'm having trouble seeing the style to follow in the following situation: - user

[Zope-CMF] CMF Collector: Open Issues

2005-10-18 Thread tseaver
The following supporters have open issues assigned to them in this collector (http://www.zope.org/Collectors/CMF). Assigned and Open efge - "CMFSetup: provide non-ascii im- and exports", [Accepted] http://www.zope.org/Collectors/CMF/292 - "CMFSetup doesn't correctly detect DCWo