[Zope-dev] ZPatterns, Racks, Customizers, etc.

2000-11-02 Thread Bill Anderson
Looking for some docs, however incomplete, on programmatically (DTML OR Python) add a Specialist (or Specialist Derived ZClass) and set up teh defaultRack, and add a Skinscript/Trigger. I would also like to be able to set the ZClass storage too ... That's not asking much, is i ? :) -- E

[Zope-dev] Re: [Zope] Multi-lingual sites and workflow

2000-11-02 Thread Petr van Blokland
Lee Hunter wrote: I was wondering if anyone here has used Zope to create bilingual/multi-lingual/localised websites. I've done a number of bilingual (French and English) projects in recent years using plain old html where the two language versions had to be kept mostly symmetrical and

[Zope-dev] Question: How can instatiate a Zclass from python.

2000-11-02 Thread Harry
I am creating an external method in python and I want to add a product (in that method) which is a Zclass (only, it doesn't exists in the lib/python/Products directory). How can I instatiate this object and how can I overide the name error that will occur (because I haven't import anything)?

Re: [Zope-dev] Re: [Zope] Multi-lingual sites and workflow

2000-11-02 Thread Holger Lehmann
Guys, please ! Try to use the translator: your folder/ /translator --- product translator /en/ --- DTML-Methods returning the strings/pages for english /fr/

Re: [Zope-dev] ZPatterns Folder W/Customizer Support not aquiring title property

2000-11-02 Thread Phillip J. Eby
At 05:53 PM 11/1/00 -0700, Bill Anderson wrote: I have a Folder w/cs in my root folder, call it spamcan. Root folder has a title defined, lets say it is "Spam Central" A DTML Method in spamcan should display "Spam Central" when doing a dtml-var title, should it not? Only if you've deleted the

Re: [Zope-dev] [Ann] ZUnit released

2000-11-02 Thread Shane Hathaway
Lalo Martins wrote: Okay, the cat is out of the bag (in fact, going to Rio for the weekend) and the worms are out of the can (better worms than bugs, anyway). ZUnit, the Product all lazy programmers were so afraid of, is available for review and download from your usual shop at

Re: [Zope-dev] ZPatterns, Racks, Customizers, etc.

2000-11-02 Thread Steve Spicklemire
Would something like this work? newSpecialist = Specialists.Specialist() newSpecialist.id = 'goobers' newSpecialist.title = "Goober Manager" myFolder._setObject(newSpecialist.id, newSpecialist) newSpecialist = newSpecialist.__of__(myFolder)

[Zope-dev] Moving ZClass app to 2.2.2

2000-11-02 Thread Jason Spisak
Zopists, When I start up Zope with my .zexp of my ZClass based product from 2.0 I get this message. 2000-10-27T23:36:46 ERROR(200) Zope Couldn't install Staff Traceback (innermost last): File /home/jason/Zope-2.2.0/lib/python/OFS/Application.py, line 478, in install_products (Object:

[Zope-dev] Tag DTML

2000-11-02 Thread Aitor Grajal Crespo
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Aitor Grajal Crespo Director General e-mail: [EMAIL PROTECTED] INETSYS, S.L. ETSI Informática Ctra. Colmenar, km. 15,500 28049 MADRID SPAIN Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 http://www.inetsysonline.com

Re: [Zope-dev] Tag DTML

2000-11-02 Thread Paul Erickson
I think that all you have to do is get your property out of md. ie: some_prop=md['some_prop'] Hello, I have coded my own DTML tag and i want to catch a property of the= folder where the DTML-Coded is. How can i do this??? from DocumentTemplate.DT_Util import * # useful parsing

Re: [Zope-dev] Tag DTML

2000-11-02 Thread Aitor Grajal Crespo
Yeahhh, thanks. But , one more step.:-) can i do it in the init method ??? The init method no have the md parameter. no??? I think that all you have to do is get your property out of md. ie: some_prop=md['some_prop'] Hello, I have coded my own DTML tag and i want to catch a

Re: [Zope-dev] Tag DTML

2000-11-02 Thread Jeffrey P Shell
On 11/2/2000 3:12 PM, "Aitor Grajal Crespo" [EMAIL PROTECTED] wrote: Yeahhh, thanks. But , one more step.:-) can i do it in the init method ??? The init method no have the md parameter. no??? No, __init__ is called at parse time and has no knowledge of the surrounding

Re: [Zope-dev] Passing namespace to method

2000-11-02 Thread Dieter Maurer
Morten W. Petersen writes: How do I construct a method of an object, so that whenever that method is called, the current namespace is passed with it? This was discussed recently in the Zope-dev/Zope lists. Chris has opened the question, Jim answered (among others). Search the archive.

[Zope-dev] another debugging howto, and a question

2000-11-02 Thread Simon Michael
Here are some draft howto-like things some might find helpful (improvements welcome) : http://zwiki.org/ZopeDebuggingRoadmap http://zwiki.org/HowToDebugZopeInEmacs and a burning question: how can I invoke zserver such that I will get the interactive debug prompt ? I'd like to have my

[Zope-dev] Documentation Documentation

2000-11-02 Thread Michel Pelletier
Greetings, Amos and I have done some work in the fishbowl this week. We have started a new project to define the process for writing Zope documentation. This fishbowl project can be found at: http://dev.zope.org/Wikis/DevSite/Projects/DocumentationProcess/FrontPage The idea here is to open

[Zope-dev] zwiki 0.7.0 bugfix

2000-11-02 Thread Simon Michael
this should resolve a problem with the recent release. From http://zwiki.org/FrontPageNews: "The original (pre-0.7.0) problem was this: in dtml modes, initial lines containing : followed by a blank line were not rendered (because they were considered to be http headers). The symptoms of