Re: [Zope-dev] 2 Zopes

2000-10-26 Thread Gregor Heine
Hi, Can anyone tell me a way to get Zope Objects from the first Zope-Installation to the second. I need this because i have to program a Product to putting data into different Zope Installations from one point of the Web. My boss want this way because he want a central point for

[Zope-dev] How to use methods in a deeper folder?

2000-10-26 Thread Loibl Johann
Hi, I would like to use a SQL-Method which exists in a deeper folder; e.g. in dtml-Method /eins/zwei/index_html there exists dtml-in "/eins/zwei/drei/sqlMethod" dtml-var something /dtml-in and my sqlMethod is situated in folder /eins/zwei/drei/ Why doesn't this work? Could someone

Re: [Zope-dev] How to use methods in a deeper folder?

2000-10-26 Thread Phil Harris
Hannes, There are a few ways to do this: dtml-in "eins.zwei.drei.sqlMethod" or dtml-with eins dtml-with zwei dtml-with drei dtml-in sqlMethod or dtml-with "restrictedTraverse('/eins/zwei/drei/sqlMethod')" all have their problems/advantages. try some of the above and see how

Re: [Zope-dev] Bindings and Votings

2000-10-26 Thread Chris Withers
Michel Pelletier wrote: Sorta. There is a bindings tab on PythonMethods where you assign names to various variables that show up in your namespace. 'self' is the container. 'context' is the context. So: self.objectValues() will allways call the container whereas:

Re: [Zope-dev] __replaceable__ or whatever it is ;-)

2000-10-26 Thread Shane Hathaway
Chris Withers wrote: I was wondering how the stuff for attributes that are replaceable in instance and singleton attributesis getting on. Itamar says the code is in the CVS for Zope, but neither of us can find any documentation. FYI I actually added the docs in two places, but they were

RE: [Zope-dev] Bindings and Votings

2000-10-26 Thread Toby Dickenson
...but can you bind self to the context or, more perversely, context to the container? As the first line in your PythonMethod: self,context = context,self But why would you want to? ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Bindings and Votings

2000-10-26 Thread Chris Withers
Toby Dickenson wrote: As the first line in your PythonMethod: self,context = context,self Haha... I forgot what it's like to have real assignment in TTW methods ;-) But why would you want to? No particular reason, just wondering :-) Chris

[Zope-dev] Flat Database/ZPatterns api, performance ?

2000-10-26 Thread Simon Michael
Flat Database (was ListMate) is just what I need to whip up an interface for non-technical administrators - thanks. So I migrated two data tables ("workshops" "registrations") from gadfly to flatdb instances using the CSV import feature, and the admin interface is working fine. I'm having a

Re: [Zope-dev] Flat Database/ZPatterns api, performance ?

2000-10-26 Thread Itamar Shtull-Trauring
Simon Michael wrote: Flat Database (was ListMate) is just what I need to whip up an interface for non-technical administrators - thanks. So I migrated two data tables ("workshops" "registrations") from gadfly to flatdb instances using the CSV import feature, and the admin interface is

[Zope-dev] Documentation Documentation on dev.zope.org

2000-10-26 Thread Amos Latteier
Hello Zope Developers, I've added two documents to dev.zope.org How to Document Your Zope Product http://dev.zope.org/Documentation/DocsProcedures/ProductDoc How to Document Your Changes to Zope http://dev.zope.org/Documentation/DocsProcedures/ZopeChanges They are wikis so dive in

Re: [Zope-dev] Unit testing, ZUnit - It is in the fishbowl, please comment

2000-10-26 Thread Lalo Martins
The proposal below is in the fishbowl, at http://dev.zope.org/Wikis/DevSite/Proposals/UnitTestingProducts The approach will be, developing the standalone ZUnit Product while the proposal is in the fishbowl, then push for the proposal (integrating it with App/Product*.py). Expect a first release

[Zope-dev] HiperDOM example (objlink, that is) ?

2000-10-26 Thread Gregor Hoffleit
Hi, perhaps I'm too stupid, but I don't grok how the objlink method in the HiperDOM example has to look like. Could somebody post an example ? Gregor ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope] OT:NT and rebooting

2000-10-26 Thread Wolfgang Strobl
On 25 Oct 2000, at 16:50, Bill Anderson wrote: OK, tim e fo rme to weigh in on this. Reboot frequency is a matter of experience and perspective. I don't believe that broadening the discussion along these lines will serve this mailing list in any way, so I refrain from commenting on most of

Re:[Zope] ZFormulator

2000-10-26 Thread administrator
Hi, we have had a similar problem with ODBC adapter under Zope 2.2.0 and we couldn't fix it. But under 2.2.2 we didn't have that problem again. Arno [EMAIL PROTECTED] Hi Martijn, and Zope Fans, I'm using ZFormulator and having problems with permissions on Zope v.2. The sign-on dialog

[Zope] LDAP and zope2.2.2

2000-10-26 Thread zope
Hi. I'm using zope 2.2.2 and LDAPAdapter0.99 with the applied patch. I have configured an LDAP filter method called searchperson qith the filter 'uid=*'. So, how can I access the attributes and its values? dtml-var searchPerson gives me the whole array. Unfortunately, I can't access the

Re: [Zope] Calling form elements by name

2000-10-26 Thread Danny William Adair
I should have posted your version, it's more explicit: --- dtml-in Items sort=Position dtml-let Prefix="'FormElement_'" thePos="_.str(Position)" nameAsAString="Prefix+thePos" dtml-var nameAsAStringbr dtml-var

[Zope] Cleaner stylr

2000-10-26 Thread Matt
Hi I have the following in a method dtml-with text_repository dtml-with "_['text_container_' + new_id]" dtml-with "manage_addProduct['MyTextClasses']" dtml-call "my_text_add(_.None, _, NoRedir=1)" /dtml-with /dtml-with /dtml-with The idea here is that a few

Re: [Zope] Zope python 2

2000-10-26 Thread Toby Dickenson
Hi all Is anyone using or know the current state of Zope with python 2.0 ? I've been somewhat curious about this myself. The current release of Zope works well on python 2.0. If you are a cautious type, you might not want to use it on a production server yet. (I would certainly recommend you

Re: [Zope] How small a box can zope run on?

2000-10-26 Thread Toby Dickenson
On Wed, 25 Oct 2000 18:43:57 +0200, "Alexander Limi" [EMAIL PROTECTED] wrote: We are building some device controller software and to control those we have a normal 486 with 24MB RAM running linux. Has anybody tried running zope on such a modest setup? There is only going to be one or two users

[Zope] Bug tracking tool

2000-10-26 Thread Jørn Helge B. Dahl
Does anybody know of a bug tracking product for Zope which is free to try out? I found URL: http://www.zope.org/Members/klm/Tracker/, which seemed to be nice, but I didn't see where to get it. -- Jørn Helge B. Dahl http://falch.net ___ Zope maillist

[Zope] How to render a HTMLFile in a method in a product

2000-10-26 Thread Max Møller Rasmussen
I would have thought that the two examples below where equivalent but only the top one works like expected. (It renders the page.) The second one just shows the source of the vanilla dtml page. -- test = HTMLFile('vanilla', globals()) -- def test(self): "A simpe test method"

[Zope] ZClass and SQL Table

2000-10-26 Thread César A. K. Grossmann
Hi I have an old system based on a SQL database, and wanna to make a Web version of it. Are there any way to represent the SQL tables as ZClasses? I mean, the attributes of the ZClasses be stored in a SQL table? TIA -- +-+-+ |

Re: [Zope] Bug tracking tool

2000-10-26 Thread Chris Withers
You can get it out of the CVS repository at cvs.zope.org. If you can find it, I guess drop Ken a mail :-S cheers, Chris "JXrn Helge B. Dahl" wrote: Does anybody know of a bug tracking product for Zope which is free to try out? I found URL: http://www.zope.org/Members/klm/Tracker/, which

[Zope] Problems with ZPhoto, ZPhotoAlbum, and ZAlbumPage

2000-10-26 Thread Dave Belfer-Shevett
Hey there folks. I've just downloaded and installed these Products into my Zope instance. I'd talk to any of the support groups / lists / etc for these Products, but I can't find anythign aside from the author link, and a few small hints on the download page. I -think- I'm setting up an Album

[Zope] Z SQL Objects (Newbie)

2000-10-26 Thread Yvonne Totty
I have the O'Reilly book, but can't seem to find more complete information on how to do 'if's' in a SQL thing. Here's the scenario: I have three different 'teams' and want to run a call specific to each team. I am passing in three parameters, two of which go in the sql statement, the

Re: [Zope] How to render a HTMLFile in a method in a product

2000-10-26 Thread Chris Withers
Max Møller Rasmussen wrote: def test(self): "A simpe test method" return HTMLFile('skins/' + self.skin, globals()) This is the closest. try the following: testisDocTemp = 1 def test(self,ignored,md): " A simple test method " return HTMLFile('skins/' + self.skin,

RE: [Zope] How to render a HTMLFile in a method in a product

2000-10-26 Thread Max Møller Rasmussen
From: Chris Withers [mailto:[EMAIL PROTECTED]] Thanks for the reply testisDocTemp = 1 def test(self,ignored,md): " A simple test method " return HTMLFile('skins/' + self.skin, globals())(None,md) Is this documented anywhere? I have a little trouble using code I don't understand.

Re: [Zope] Bug tracking tool

2000-10-26 Thread Olivier Deckmyn
AFAIK, You have to get it through CVS... - Original Message - From: "Jørn Helge B. Dahl" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 26, 2000 12:54 PM Subject: [Zope] Bug tracking tool Does anybody know of a bug tracking product for Zope which is free to try out?

Re: [Zope] Z SQL Objects (Newbie)

2000-10-26 Thread Jens Grewen
Hi, Arguments| team Query template dtml-if "team == '5'" select * from data dtml-else select * from data/dtml-if this is normal but may it helps if you post the traceback of the error message Jens Grewen - Original Message - From: Yvonne Totty To: [EMAIL

RE: [Zope] Z SQL Objects (Newbie)

2000-10-26 Thread Yvonne Totty
Error message stuff: Expression (Python) Syntax error: invalid syntax , for tag :if "team=='S'", on line 23 of string Traceback (innermost last): File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 222, in publish_module File

Re: [Zope] How small a box can zope run on?

2000-10-26 Thread Tony McDonald
At 10:15 am +0100 26/10/00, Toby Dickenson wrote: On Wed, 25 Oct 2000 18:43:57 +0200, "Alexander Limi" [EMAIL PROTECTED] wrote: We are building some device controller software and to control those we have a normal 486 with 24MB RAM running linux. Has anybody tried running zope on such a modest

Re: [Zope] Z SQL Objects (Newbie)

2000-10-26 Thread Phil Harris
Yvonne, The format of your 'if' is incorrect: You have :if . it should be dtml-if. so the whole statement is as Jens says below. hth Phil [EMAIL PROTECTED] - Original Message - From: Jens Grewen To: [EMAIL PROTECTED] Cc: Zope Maillist Sent: Thursday, October 26, 2000

RE: [Zope] Z SQL Objects (Newbie)

2000-10-26 Thread Yvonne Totty
Jim, Nah, I thought of that, too and it didn't work 8(. I have been using :sqlvar ... inside my statements and those seem to be doing just fine. Yvonne 8) Try it with the dtml-if syntax rather than :if. It made a difference for me. If this works for you, please post a comment. it

RE: [Zope] Z SQL Objects (Newbie)

2000-10-26 Thread Yvonne Totty
Well, I will be darned, it did work. I must have left out the quotes before when I tried it. That is weird, how, in the very same object, the :sqlvar... works, but :if... doesn't. Thanks so much!!! ~~~ Yvonne Totty Database Engineer -

Re: [Zope] How small a box can zope run on?

2000-10-26 Thread Tim Cook
Tony McDonald wrote: This is the first I've ever seen written on this subject. If it's correct (and I have no reason to disbelieve Toby - I've tried a few There was a good discussion about this a couple of months ago. Check the archives for: zope2.2.0 and what is high load -- Tim Cook --

Re: [Zope] regex

2000-10-26 Thread Andy McKay
Regex is not available in dtml. You have to use python and import it. - Original Message - From: "Joaldo Junior" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 26, 2000 8:09 AM Subject: [Zope] regex how to for use function regex in zope? please send examples.

[Zope] Re: Re:[Zope] ZFormulator

2000-10-26 Thread Andy McKay
There was a problem with the ODBC adapter under 2.2.0 where the permissions werent applied properly. There was a patch that was then incorporated into later releases 2.2.1 onwards. - Old Message In case anyone else didnt read my thread there is an apparently known but not seemingly

[Zope] Reverse SendMail Question

2000-10-26 Thread complaw
Has anyone thought of using SendMail (or any other e-mail program) to send e-mail to Zope and have that e-mail be loaded directly into a specific folder (say, based on the e-mail address or subject line)? This would be handy to keep track of e-mail. All the person would have to do is cc the

[Zope] display owner [repost]

2000-10-26 Thread Patrick Koetter
Hi all, I posted this the last days, but didn't get quite what I needed. I'm looking for a way to get the Owners Name of an object (e.g. DTML-Method or -Document etc.) in order to display this to the surfers when they drop by. I've searched through zope.org code, took a look at the Owned.py

Re: [Zope] Reverse SendMail Question

2000-10-26 Thread J. Atwood
There is a product that does this.. of course, I cannot for the life of me remember its name. J From: [EMAIL PROTECTED] Date: Thu, 26 Oct 2000 16:59:45 GMT To: [EMAIL PROTECTED] Subject: [Zope] Reverse SendMail Question Has anyone thought of using SendMail (or any other e-mail program)

Re: [Zope] Reverse SendMail Question

2000-10-26 Thread Pierre-Julien Grizel
[EMAIL PROTECTED] wrote: Has anyone thought of using SendMail (or any other e-mail program) to send e-mail to Zope and have that e-mail be loaded directly into a specific folder (say, based on the e-mail address or subject line)? This would be handy to keep track of e-mail. All the

Re: [Zope] display owner [repost]

2000-10-26 Thread Pierre-Julien Grizel
Patrick Koetter wrote: Hi all, I posted this the last days, but didn't get quite what I needed. I'm looking for a way to get the Owners Name of an object (e.g. DTML-Method or -Document etc.) in order to display this to the surfers when they drop by. I've searched through zope.org

[Zope] trapping login errors/exceptions

2000-10-26 Thread Henny van der Linde
Hi, This should be very simple but I can't get it to work. I have a method called do_login. This method can't be viewed by anonymous users. When I call this method just with dtml-call do_login a standard login screen is presented as expected. Now I want tot trap login errors with a try

Re: [Zope] Reverse SendMail Question

2000-10-26 Thread Rik Hoekstra
Has anyone thought of using SendMail (or any other e-mail program) to send e-mail to Zope and have that e-mail be loaded directly into a specific folder (say, based on the e-mail address or subject line)? This would be handy to keep track of e-mail. All the person would have to do is cc

[Zope] DTML and acquisition question

2000-10-26 Thread Jim Holthaus
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If A contains B which contains C which contains D (tree view) A B C D and I am in A, how do I get to an item in D? What if B and C are dynamic? - -- Jim Holthaus (pronunciation: HOLT house) [EMAIL PROTECTED] PGP Public Key at

[Zope] Hosting?

2000-10-26 Thread Paul Winkler
Hi, I'm wondering if anyone can recommend a commercial Zope hosting service for me. I've looked at the resources page on zope.org, and I have a couple feelers out, but I'd like to ask the community for recommendations as well. Requirements: I need a system that can handle a potentially very

Re: [Zope] Hosting?

2000-10-26 Thread J. Atwood
Try http://www.rackspace.com. You can start off with a 600 MHz, 128 MB Ram, 30 GB EIDE drive for about $300 a month. They have great support and bandwidth and claim to be the largest installed base of RH Linux. They also scale pretty well. I have about 10 boxes with them for about year now.

[Zope] asdasd

2000-10-26 Thread Chris McDonough
asdasd ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce

[Zope] can I turn off !--# syntax?

2000-10-26 Thread Noah
I'm working on a web site that uses Apache server side includes. This is causing Zope to freak out because the SSI syntax is identical to the alternate (older) Zope dtml syntax. !--#exec cgi="/cgi-bin/includes/random_ad.pl"-- I thought of putting dtml-comment around them all, but I am certain

Re: [Zope] Hosting?

2000-10-26 Thread complaw
Hi, I'm wondering if anyone can recommend a commercial Zope hosting service for me. I've looked at the resources page on zope.org, and I have a couple feelers out, but I'd like to ask the community for recommendations as well. http://www.codeit.com/ They are the best one I've found.

Re: [Zope] siteaccess + resolve_url problem

2000-10-26 Thread Júlio Dinis Silva
Opps! It was my problem. The problem was: You have www.mysite.com "siteaccesing" www.mysite.com/site1. You have the following directory: /site1/myfolder If you type in a browser www.mysite.com/myfolder there is no problem because siteaccess handles the location of myfolder. But you cannot

[Zope] Displaying non-start values as the first batch seen in a batchprocessing dtml-inprocessing dtml-in

2000-10-26 Thread Chris Beaumont
Hello, I'm using dtml-in to display a long list of events taken from a SQL table, as part of a calendar, using batch processing, (basically the example from the DTML reference adapted to use direct traversal to fetch the table contents) I want my calendar to be basically a timeline, with the

Re: [Zope] Reverse SendMail Question

2000-10-26 Thread Ender
[EMAIL PROTECTED] wrote: Has anyone thought of using SendMail (or any other e-mail program) to send e-mail to Zope and have that e-mail be loaded directly into a specific folder (say, based on the e-mail address or subject line)? This would be handy to keep track of e-mail. All the

Re: [Zope] which python gets used ... ?

2000-10-26 Thread Ender
Jonathan Cheyne wrote: Hi, just a quickie idiot question .. Does zope use any of the python on my RH6.2 box or does it use its own copy exclusively? I was trying to install the python xml libraries to try our the hyperdom product. I installed an rpm succesfully before remembering that

Re: [Zope] Displaying non-start values as the first batch seen in a batchprocessing dtml-inprocessing dtml-in

2000-10-26 Thread Ender
Chris Beaumont wrote: Hello, I'm using dtml-in to display a long list of events taken from a SQL table, as part of a calendar, using batch processing, (basically the example from the DTML reference adapted to use direct traversal to fetch the table contents) I want my calendar to be

Re: [Zope] Zope/PIL collision - what to do?

2000-10-26 Thread Jens Vagelpohl
try something like import PIL image = PIL.Image.open('foo.png') that way you do not have two names "Image" colliding in the names Zope sees jens Jens Vagelpohl[EMAIL PROTECTED] Software Engineer www.digicool.com Digital Creations (888) 344-4332 Got Zope?

[Zope] Calander.

2000-10-26 Thread Jason C. Leach
hi, I'm looking for a Zope calander kind of like you see on the ZopeNewbies page. Anyone seen a product like this hanging around. If not, perhaps I'll have to whip one up. :) Thanks, j. .. . Jason C. Leach ... University College of the Cariboo. ..