Re: [Zope-CMF] Help with Frostbite

2005-10-17 Thread robert rottermann
sureshvv wrote: I installed Frostbite managed to complete most of the Installation steps from the README.txt file. I am stuck on step 7. > 7. Add an instance of your generated product's class to the skins tool of your >site. The skins tool (portal_skins folder, i assumed) has only 2 ite

Re: [Zope-CMF] View classes / testing

2005-10-17 Thread Chris McDonough
On Mon, 2005-10-17 at 20:37 +0100, pete wrote: > Hi, > > 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. So > now it's on to testing! > > Has anyone written many tests for a view class? I'm not quite sure

[Zope-CMF] View classes / testing

2005-10-17 Thread pete
Hi, 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. 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. put the request and context

[Zope-CMF] Re: Help with Frostbite

2005-10-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sureshvv wrote: > > Tres Seaver wrote: > >> I don't see how that could be -- the skins tool add list is not filtered >> at all in stock CMF or in Plone. What software provides your skins tool? > > Plone 2.1 I can't reproduce this issue in a Zope w

[Zope-CMF] Five views / redirects

2005-10-17 Thread pete
Sorry in advance if this is a dumbo question, but I'm having trouble seeing the style to follow in the following situation: - user calls a url, say /object/tuesday_message - if today's date is a tuesday, render 'tuesday.pt' - otherwise render 'no_message.pt' both tuesday.pt and no_message.

[Zope-CMF] Re: Help with Frostbite

2005-10-17 Thread sureshvv
Tres Seaver wrote: I don't see how that could be -- the skins tool add list is not filtered at all in stock CMF or in Plone. What software provides your skins tool? Plone 2.1 Can you check that your product is actually being installed? You should be able to add a "Frostbite: " instance

[Zope-CMF] Re: CMF and Five views: hooking up "POST"

2005-10-17 Thread yuppie
Hi Tres! Tres Seaver wrote: Lennart Regebro wrote: On 10/17/05, yuppie wrote: I know that pattern, but I don't like it. [...] The code on the goldegg-folder_contents branch processes the input in the __call__ method of the view class. The template is only invoked if needed. It's much cleane

[Zope-CMF] Re: CMF and Five views: hooking up "POST"

2005-10-17 Thread yuppie
Hi Lennart! Lennart Regebro wrote: On 10/17/05, yuppie wrote: I know that pattern, but I don't like it. [...] The code on the goldegg-folder_contents branch processes the input in the __call__ method of the view class. The template is only invoked if needed. It's much cleaner to use the templ

[Zope-CMF] Re: CMF and Five views: hooking up "POST"

2005-10-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lennart Regebro wrote: > On 10/17/05, yuppie <[EMAIL PROTECTED]> wrote: > >>I know that pattern, but I don't like it. [...] >>The code on the goldegg-folder_contents branch processes the input in >>the __call__ method of the view class. The template i

[Zope-CMF] Re: CMF and Five views: hooking up "POST"

2005-10-17 Thread Lennart Regebro
On 10/17/05, yuppie <[EMAIL PROTECTED]> wrote: > I know that pattern, but I don't like it. [...] > The code on the goldegg-folder_contents branch processes the input in > the __call__ method of the view class. The template is only invoked if > needed. It's much cleaner to use the template just for

[Zope-CMF] [dev] CMFSetup/GenericSetup: moving code around - a small proposal

2005-10-17 Thread yuppie
Hi! Right now the structure of the setup modules is a bit wired. I hope we can simplify that (on the trunk / for CMF 2.0). The big picture: In the long run CMFSetup becomes obsolete. The framework was already moved to GenericSetup and the setup handlers should become part of the related p

[Zope-CMF] Re: Help with Frostbite

2005-10-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sureshvv wrote: > I installed Frostbite managed to complete most of the Installation steps > from the README.txt file. > > I am stuck on step 7. > >> 7. Add an instance of your generated product's class to the skins tool > of your >site. > > The

[Zope-CMF] Re: CMF and Five views: hooking up "POST"

2005-10-17 Thread yuppie
Hi Lennart! Lennart Regebro wrote: The standard Zope3-ish way is to have a m,ethod called Update() which you call every time the views template is displayed. This method can prepare all the data to be displayed, as well as handle any form postings. Instead of checking on POST I usually check o

Re: [Zope-CMF] Re: CMF and Five views: hooking up "POST"

2005-10-17 Thread Lennart Regebro
The standard Zope3-ish way is to have a m,ethod called Update() which you call every time the views template is displayed. This method can prepare all the data to be displayed, as well as handle any form postings. Instead of checking on POST I usually check on the button-presses, but of course if

[Zope-CMF] Re: Help with Frostbite (Solution/More Questions)

2005-10-17 Thread sureshvv
sureshvv wrote: So how do I add an instance of my generated product's class? I was able to do that with an External Method. But Frostbite seems to be stripping some tags from my .pt files. Specifically, 1. 2. Why does it do this? I have tal:defines present as part of these tags an

[Zope-CMF] Help with Frostbite

2005-10-17 Thread sureshvv
I installed Frostbite managed to complete most of the Installation steps from the README.txt file. I am stuck on step 7. > 7. Add an instance of your generated product's class to the skins tool of your >site. The skins tool (portal_skins folder, i assumed) has only 2 items in the dropd

Re: [Zope-CMF] Trying to customize CMF login to use email rather than userid

2005-10-17 Thread Chris Withers
Deb Lewis wrote: Configuration: Zope 2.7.7, CMF 1.4.8; also GRUF (GroupUserFolder) 3.3 Why are you using such old and crufty software? Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ Zo

[Zope-CMF] CMF Collector: Open Issues

2005-10-17 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

Re[2]: [Zope-CMF] DCWorkflow + Acqusition

2005-10-17 Thread Victor Safronovich
Hello Dieter Maurer, Sunday, October 16, 2005, 10:38:54 PM, you wrote: DM> But it returns what "objectMoved.getResult()" returns. DM>You can use this to communicate with the "doActionFor" caller. i.e. raise ObjectMoved( new_obj, new_obj )? this is not bad idea :), but i don`t completely u