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
-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
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
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):
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.
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
_
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
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