[Zope-dev] Namespace Questions

2000-07-14 Thread Adam Pawliuk
Hi, I want to find an efficient way of adding a dictionary of values to the Zope namespace, where a different dictionary could be set on each request. I wanted to create a several dictionaries each containing properties for a look and feel (i.e. background colors, fonts etc), and switch

[Zope-dev] Making Folders callable

2000-07-14 Thread Steve Alexander
Is there any reason that Folders aren't callable? That is, you can't directly render a folder with dtml-var nameofafolder. You have to do something like dtml-var "nameofafolder.index_html(_.None, _)". But, that's not quite the same because if the folder lacks an index_html, it gets acquired.

[Zope-dev] Re: ZCallable

2000-07-14 Thread Chris Withers
Yup, This looks good, as did your earlier post. However, it raises a question :( Something like a ZCatalog or a Squishdot Site (which I have a passing interest in ;-) are both folderish. However, their __call__ method does something quite different: it returns the results of searching the

[Zope-dev] (no subject)

2000-07-14 Thread danchik
if i call a page with some REQUEST variables (submited by form), how can I pass the namespace variables to the frames??? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

[Zope-dev] passing namespace

2000-07-14 Thread danchik
if I submit a form to some page that has frames, how do I pass the REQUEST namespace to those frames ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

Re: [Zope] Variable sort in dtml-in

2000-07-14 Thread Adam Karpierz
In my search form, I have a selection box "in_sort_by" whose value can be "Category", "Field", or "Title". I am trying to make dtml-in sort by this value. I am using: dtml-in SQL_search sort="_['in_sort_by']" size=list_size start=query_start Hi Aaron again I have attached appropriate patch

Re: [Zope] BTreeFolder

2000-07-14 Thread Robert Wohlfahrt
Been there, done that s. It requires 2.2+. But boy am I looking forward to using it as soon as 2.2 is out of beta. VBG. thank for your answer. As soon as I have a bit more time i will try 2.2+. Robert -- Robert Wohlfahrt ([EMAIL PROTECTED]) Tel: 0179 / 2980074 Fax: 0351 / 2880145

Re: [Zope] Zope Knowledge Base on www.faqts.com?

2000-07-14 Thread Oleg Broytmann
On Fri, 14 Jul 2000, Fiona Czuczman wrote: I've been working on a Python knowledge base for the last couple of months. http://python.faqts.com It became excellent resource! Cheers to your work!!! Recently I've been thinking about incorporating content from this mailing list in a

Re: [Zope] how to check if the ResultSet is null?

2000-07-14 Thread Robert Wohlfahrt
Hi, Hi, I still got problems after I changed my code according to your suggestion. Here is the detail describtion of my code: In registration form, I have a table which contain a field usr_email (tr td width="40%" align="right"Email Addressnbsp; /td td

Re: [Zope] Variable sort in dtml-in

2000-07-14 Thread Aaron Williamson
I have attached appropriate patch for dtml-in tag for Zope 2.2.0b3/b4 (Of course this patch was checked and works ok). Thanks again for the patch. It is a much needed option (and rather a glaring omission from the original code). So far it is working flawlessly for me. I want extend my

[Zope] HTML Editors that recognize DTML

2000-07-14 Thread Brad Moulton
Hello All, as a newbie I was wondering if those zope developers who use Linux have come across any HTML editors that support DTML tags I note that the Windows developers prefer Homesite. I'd just like to know what the Linux community have tested and found suitable I am currently using

Re: [Zope] testing for local roles

2000-07-14 Thread Aaron Williamson
Brian Lloyd wrote: dtml-if "AUTHENTICATED_USER.has_role(('Manager','siteManager'), this())" ... /dtml-if Well, while we're on the subject of AUTHENTICATED_USER.has_role, I've just come upon an error that just popped up all of a sudden in an SQL query that was working fine before. The

Re: [Zope] Newbie: Zope a webserver? Serving PHP and Perl

2000-07-14 Thread Martijn Pieters
On Thu, Jul 13, 2000 at 05:44:23PM -0500, Lucas Young (c) wrote: Have just installed Zope under Win2K and it works fine - I see a lot of people mention using Apache to server Zope, but isnt Zope a webserver itself? I can browse to http://server:8080/ and view Zope pages, so why would I need

[Zope] Translator 0.5 broken ?

2000-07-14 Thread Holger Lehmann
Hi all, I was trying to get Translator to work on my Zope System but all I get is an error about the system not being able to find the modules Shared.XMLio ... I do not have it and I am not able to find it, so where dos it come from ? - Holger PS: I tried to contact the author but got no reply

[Zope] Re: Zope Knowledge Base on www.faqts.com?

2000-07-14 Thread Paul Browning
Message: 30 Date: Fri, 14 Jul 2000 12:20:31 +1000 From: Fiona Czuczman [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Organization: Site Gnome To: [EMAIL PROTECTED] Subject: [Zope] Zope Knowledge Base on www.faqts.com? Hi, I've been working on a Python knowledge base for the last

Re: [Zope] Zope Knowledge Base on www.faqts.com?

2000-07-14 Thread Maik Roeder
Hi Fiona ! Fiona Czuczman wrote: Hi, I've been working on a Python knowledge base for the last couple of months. http://python.faqts.com Each day I go through postings to the newsgroup and enter those that I believe would be useful FAQs into the site, then I send out a summary to

[Zope] ZPygres connection problem

2000-07-14 Thread Oleg Broytmann
Hello! I did an experiment (after having problems connecting Zope to Postgres) - I stopped ZServer and restared Zope in PCGI-only mode. I opened connection successfully! I stopped PCGI and restarted ZServer. I again got BadRequest (cannot connect to server). Anyone have an idea

RE: [Zope] upgrade to 2.2 zsql authentication problem

2000-07-14 Thread Brian Lloyd
I create a zsql method in 2.2b4, using the test tab the zsql method works ok. The problem is when I use a dtml method or document (executable objects) to call the zsql method with a IN statment, a not authorized browser box appears. I'm aware of the ownership changes but on my port

Re: [Zope] Weird problem with Z MySQL Connection

2000-07-14 Thread Jonathan
Hi all, Keep getting an 'invalid connection string' error when trying to make a database connection from Zope. Weird thing is that I first moved a working build to another machine, which resulted in it not working anymore. Did a clean install of Zope 2.1.6 (Source), MySQL 3.22.32 and all

RE: [Zope] testing for local roles

2000-07-14 Thread Brian Lloyd
Well, while we're on the subject of AUTHENTICATED_USER.has_role, I've just come upon an error that just popped up all of a sudden in an SQL query that was working fine before. The problematic line is: dtml-if "AUTHENTICATED_USER.has_role('Manager',this())" and the error I get when

[Zope] namespace??

2000-07-14 Thread Marcus Mendes
How can I get the content of TITULO_CIDADE out of my tags dtml-in> /dtml-in> ?? My code is : dtml-in "_['sequence-item'].objectValues(['TSimpleItem'])" sort=title> dtml-if "_['sequence-item'].id == CIDADE"> dtml-call "REQUEST.set('TITULO_CIDADE',_['sequence-item'].title)"> /dtml-if> /dtml-in>

[Zope] GUF KeyError problem

2000-07-14 Thread Mabe, Brad
I am attempting to get GUF (using sql methods for authentication) working on an HPUX box and am running into a bit of a snag. Running ZOPE in debug mode yields the following: ERROR(200) GUF http://sidr:8080/test/acl_users/userRoles raised an exception ((class exceptions.KeyError at 40051d58

Re: [Zope] Newbie: Zope a webserver? Serving PHP and Perl

2000-07-14 Thread andres
- Original Message - From: Lucas Young (c) Also, How do I set Zope up so it handles PHP tags? Take a look at a HOW-TO I wrote for one way to serve PHP from within Zope: www.zope.org/Members/Mamey/PHP -- Andres

Re: [Zope] namespace??

2000-07-14 Thread andres
On Fri, Jul 14, 2000 at 11:31:34AM +0100, Marcus Mendes wrote: How can I get the content of TITULO_CIDADE out of my tags dtml-in /dtml-in ?? My code is : dtml-in "_['sequence-item'].objectValues(['TSimpleItem'])" sort=title dtml-if "_['sequence-item'].id == CIDADE"

Re: [Zope] Version Changes

2000-07-14 Thread Shane Hathaway
Tim Cook wrote: When Saving changes from a version are the notes entered in the text box logged anywhere? I can't seem to find them or any information about them. It would be handy to use them for a regular CHANGES file. They appear in the Undo log. Shane

[Zope] zope.org going down now

2000-07-14 Thread ethan mindlace fremen
zope.org is going down now for the upgrade. Thanks for your patience. -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] simple instructions for site search

2000-07-14 Thread sean
On 14 Jul 2000, at 8:37, Chris Withers wrote: [EMAIL PROTECTED] wrote: Does this explain why I see Squishdot and ZChat messages in the catalog, Actually, I have cleared and recreated the index, and ZChat message show up in the catalog but I cannot find them in searches. Squishdot does

[Zope] namespace problem?

2000-07-14 Thread Marcus Mendes
How can I get the content of TITULO_CIDADE out of my tags dtml-in /dtml-in ?? My code is : dtml-in "_['sequence-item'].objectValues(['TSimpleItem'])" sort=title dtml-if "_['sequence-item'].id == CIDADE" dtml-call "REQUEST.set('TITULO_CIDADE',_['sequence-item'].title)"

[Zope] zope.org updated

2000-07-14 Thread ethan mindlace fremen
zope.org is now running the release version of zope (2.2), which should be availiable for download shortly. Enjoy, -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ Zope maillist - [EMAIL PROTECTED]

[Zope] suggestions for what to run in front of ZEO'ed zopes for failover?

2000-07-14 Thread Roman Milner
I'm wondering if anyone can suggest something good to run in front of 2 zopes talking to a zeo server - for failover and load balancing. I have been using a tool called 'balance' which works really well - but for failover it only works if the socket to one of the zope servers doesn't connect.

[Zope] Creating graphs with Zope (under NT)

2000-07-14 Thread Richard Folwell
How are the Zope website statistics graphs created? I need to create simple graphs (pie charts and line graphs) from data held in an ODBC database, using Zope under NT (unfortunately). I looked at gnuplot, and found ways to produce really impressive complex sophisticated graphs, but nothing

[Zope] Zope 2.2 final released!

2000-07-14 Thread Brian Lloyd
Hi all, Zope 2.2.0 final has been released - you can download it from Zope.org: http://www.zope.org/Products/Zope/2.2.0/ Many thanks go to all of those who have worked with the alpha and beta releases and helped work through the more than 110 (!) issues that have been closed

Re: [Zope] Creating graphs with Zope (under NT)

2000-07-14 Thread Harald Ragger
Richard, take a look at "http://www.zope.org/Members/teyc/ZGDChart". I think this could help you. regards Harald - Original Message - From: "Richard Folwell" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 14, 2000 8:20 PM Subject: [Zope] Creating graphs with Zope (under

Re: [Zope] Linux user group

2000-07-14 Thread ethan mindlace fremen
CURTIS David wrote: Greetings, I am a member of the a Linux users group and I have been asked to do a demo on ZOPE because I am using it and many members are curious. I consider myself a ZOPE newbie, because use I use ZOPE to access some really simple databases. I have NOT done any

[Zope] Accessing the Application (or Control_Panel)

2000-07-14 Thread Jeff K. Hoffman
Hello, I am working on a Python Product (subclass of ObjectManager) that creates some instances of a few ZClasses inside itself when constructed. Currently, I do this as follows: CONTROL_PANEL = None def manage_addMyClass(self, id, title='', REQUEST=None): global CONTROL_PANEL

Re: [Zope] zope crawls - the day after

2000-07-14 Thread Tino Wildenhain
"Bak @ kedai" wrote: hi all zope is faster now. i think i know why, just wanted some confirmation from the zopistas. setup: apache in front of zope on a rh 6.1 linux what happened: -got a lot of simultaneous connect in one time. whe the number of connect exceeds 200, zope

Re: [Zope] suggestions for what to run in front of ZEO'ed zopes for failover?

2000-07-14 Thread Bill Anderson
Roman Milner wrote: I'm wondering if anyone can suggest something good to run in front of 2 zopes talking to a zeo server - for failover and load balancing. I have been using a tool called 'balance' which works really well - but for failover it only works if the socket to one of the zope

Re: [Zope] uncatalog of absent id?

2000-07-14 Thread R. David Murray
On Thu, 13 Jul 2000, Nitesh Dhanjani wrote: Im fairly new to the Zope world. Im trying to delete a PTK folder, and get this error: Zope Error Zope has encountered an error while publishing this resource. Error Type: ValueError Error Value: Uncatalog of absent id

Re: [Zope] Class Refactoring Question

2000-07-14 Thread R. David Murray
On Thu, 13 Jul 2000, James W. Howe wrote: I've developed a couple of simply Python classes which I'm using as base classes for some ZClasses that I've developed. I now realize that both of these Python classes could benefit from obtaining behavior from another class. Will I complete hose

[Zope] Delete property woes in ZClasses

2000-07-14 Thread Paul Abrams
I noticed that when you delete a property in a ZClass, it doesn't actually delete the property in **instances** of that ZClass! This leaves properties lying around where they can be inadvertently acquired, causing problems that are difficult to trace. Has anyone gotten bitten by this, or know of

Re: [Zope] (no subject)

2000-07-14 Thread Karl Anderson
"Leichtman, David J" [EMAIL PROTECTED] writes: I've previously been a Perl programmer. I did a lot of stuff where I would have multiple links with different options. Ex. a href="/path/script.pl/1234"1234/abr a href="/path/script.pl/2345"2345/abr Then, in script.pl, I would pick up the

Re: [Zope] uncatalog of absent id?

2000-07-14 Thread Bill Anderson
"R. David Murray" wrote: On Thu, 13 Jul 2000, Nitesh Dhanjani wrote: Im fairly new to the Zope world. Im trying to delete a PTK folder, and get this error: Zope Error Zope has encountered an error while publishing this resource. Error Type: ValueError Error Value: Uncatalog

[Zope] 2.2.0 and Membership ... NoGo

2000-07-14 Thread Bill Anderson
Dunno what changed, but in 2.2.0b4 I could use Membership w/the latest ZPatterns just fine. In 2.2.0 when I try to add one, I get: "keyword redefined" errors. -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password.

[Zope] I have a question on Zope 2.2

2000-07-14 Thread Jonathan Desp
Hi everybody, I'm using Zope 2.2 on my local machine, where I constructed my data.fs, then after I uploaded this data.fs on my hurrah.com server which use an older version of Zope(2.1.6), then I was not able to add any DTML Document or DTML Method, and all the DTML images was broken, as well as

RE: [Zope] zope crawls - the day after

2000-07-14 Thread bak @ kedai
Uhm. Headers are headers, not content. As example, image files have headers too but no HTML inside. So you should set headers with RESPONSE.setHeader() i did set RESPONSE.setHeader(blah blah). my question was where should i put this statement. but now, i found out that it doesn't matter where

[Zope] Announcing dev.zope.org

2000-07-14 Thread Brian Lloyd
Hello all, For some time now, it has been a goal of ours to open up the Zope development process. Some of you may have heard me promise this at the Zope track back in January. Well, it took a little longer than I had hoped it would, but I'm happy to announce an important step in making that