Re: [Zope-dev] New Help System in 2.2

2000-06-07 Thread Itamar Shtull-Trauring
"Dan L. Pierson" wrote: You might want to take a look at the bottom of http://www.lfw.org/python/... He finally released it! I've been waiting for this since IPC8. -- Itamar S.T. [EMAIL PROTECTED] "It don't get thingier than that!" ___

[Zope-dev] Containers in ZODB

2000-06-07 Thread Petr Knapek
Hi Zopists, I would like to use ZODB3 as an object DB to store my own objects. At the beginning, I will make any text UI but later I want to put my objects into a ZOPE Folder and store them inside ZOPE ZODB (Zope will serve as GUI). Generaly I have 2 types of objects: Container - object with

Re: [Zope-dev] Containers in ZODB

2000-06-07 Thread Itamar Shtull-Trauring
Petr Knapek wrote: Container - object with some attributes and methods which can collect other objects (also Containers) For these you should inherit from OFS.ObjectManager.ObjectManager. Item - an object with some attributes and methods which can not collect any other objects but can be

Re: [Zope-dev] LM and user objects

2000-06-07 Thread Dan L. Pierson
Bill Anderson writes: "Phillip J. Eby" wrote: At 04:03 PM 6/6/00 -0600, Bill Anderson wrote: I am using the deafult UserSource that comes with LM for the moment (one step at a time ;) LM or PTK? LM (Waiting for Dan's changes before trying _any_ LM with PTK ;)

[Zope-dev] Request for comments: Directory storage

2000-06-07 Thread Petru Paler
Hello all, You probably saw my yesterday post with the first alpha of ReiserStorage. One of the questions that people tend to ask about it is wheter they can use it without reiserfs. There are two problems with not using reiserfs: 1. ReiserStorage (now renamed to

Re: [Zope-dev] Getting to container from a method called by the factory

2000-06-07 Thread Kevin Dangoor
- Original Message - From: "Itamar Shtull-Trauring" [EMAIL PROTECTED] To: "Kevin Dangoor" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, June 07, 2000 3:44 AM Subject: Re: [Zope-dev] Getting to container from a method called by the factory Kevin Dangoor wrote: I'm

Re: [Zope-dev] Recursively adding ZClasses (continued)

2000-06-07 Thread Kevin Dangoor
- Original Message - From: "Rik Hoekstra" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 07, 2000 4:28 AM Subject: [Zope-dev] Recursively adding ZClasses (continued) First I had a problem with nested ZClasses, which got me into trouble when I wanted to add ZClasses to

Re: [Zope-dev] Request for comments: Directory storage

2000-06-07 Thread Jason Spisak
Petru Paler: This is the embodiment of my MutliFileStorage thingy on Jim's ZODB Wiki. I droped it (Never picked it up) when Mountable Storage was announced. I'll create a ReierFS partition some time this week and try it out. Excellent! Hello all, You probably saw my

Re: [Zope-dev] Recursively adding ZClasses (continued)

2000-06-07 Thread Rik Hoekstra
snip Thanks for replying Kevin, but it won't work ;-( I tried it ALL, and it _will_not_work_. The nested ZClasses will apparently solve it (I used it elsewhere), but it will get you into trouble in other situations - if you want to add an instance of the nested zclass to an existing instance of

RE: [Zope-dev] LM and user objects

2000-06-07 Thread Dan L. Pierson
Chip Vanek writes: Hi, I also tried to get the patch working with 2.2CVS PTK CVS and had little luck. I also needed to manually apply the patch and worked through the errors until I got a security violation with the PTK. I was no longer in any way able to access any of my test

Re: [Zope-dev] Recursively adding ZClasses (continued)

2000-06-07 Thread Jason Spisak
Rik Hoekstra writes: This currently adds recursive ZClasses for me. All ZClasses are on the top level of the Product, no nesting: cut out untested dtml-with "PermanentJobClass.createInObjectManager(REQUEST['id'], REQUEST)" dtml-call

[Zope] Expression Evaluation Order..

2000-06-07 Thread Andrew Kenneth Milton
I have noticed a buglet in the dtml-var expression evaluation:- dtml-var "x/y*z" Is the same as dtml-var "x/(y*z)" this is obviously wrong :-) so I need to expressly put dtml-var "(x/y)*z" -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty

Re: [Zope] ZOPE, Xemacs, html-mode, indentation

2000-06-07 Thread jiva
Bob: You are 100% correct. I didn't want to write a DTD for dtml (though this is probably the "right" solution) so instead I went searching for other options. Here's what I found: If you use hm--html-mode, there's a variable called: hm--html-tag-name-alist where I added some definitions for

[Zope] Re: import-export

2000-06-07 Thread gresham
Ok, after poking around in the code and debug (!) I finally realized that the ID being passed to manage_exportObject is not the filename, but the id of the object to export. So a couple of examples to clarify: to export a folder from the top level (root), you can do two things: 1. Check the

Re: [Zope] Passing all POST variables?

2000-06-07 Thread Toby Dickenson
On Fri, 26 May 2000 15:14:56 +0200, Martijn Pieters [EMAIL PROTECTED] wrote: Shame there's no "safe pickle option" that allows only numbers, strings, lists, tuples and dictionaries. There is actually. It's called marshal: http://www.python.org/doc/current/lib/module-marshal.html which

Re: [Zope] News tickers

2000-06-07 Thread Olivier Deckmyn
about RSS, the url is : http://www.xml.com/pub/2000/02/23/zope/index.html 0,02$ - Original Message - From: "Oleg Broytmann" [EMAIL PROTECTED] To: "Zope Mailing List" [EMAIL PROTECTED] Sent: Wednesday, June 07, 2000 10:22 AM Subject: [Zope] News tickers Hello! I'm looking for

Re: [Zope] News tickers

2000-06-07 Thread Oleg Broytmann
On Wed, 7 Jun 2000, Olivier Deckmyn wrote: about RSS, the url is : http://www.xml.com/pub/2000/02/23/zope/index.html Thanks! Sure, good article. (Thanks, Amos.) Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies

[Zope] Combining a search and uniqueValues..

2000-06-07 Thread Anders Holmbech Nielsen
Hi, I want to find the unique values from a search. This first search return (among others) som keywords (emneord) which unique values I want get(second search). dtml-in "artikler.artikel_catalog(artikel_dato=[artikel_dato_fra, artikel_dato_til], artikel_dato_usage='range:min:max',

[Zope] manage primitives documentation

2000-06-07 Thread Pierre Rougier
Hi all! I just have a problem of documentation does anyone know where I can find the doc about all the manage_something primitives (like manage_upload(), manage_clone()...) My problem is that I want to insiantiate an abject from a method, but I can't find the good primitive. Thanks for

[Zope] stupid question I guess

2000-06-07 Thread josh on
but I can't find the answer... can I set a local variable in zope on a dtml page eg dtml-var variablename = 1 thanks josh on ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!

Re: [Zope] stupid question I guess

2000-06-07 Thread Chris Withers
josh on wrote: can I set a local variable in zope on a dtml page dtml-var variablename = 1 Yup: dtml-call "REQUEST.set('variablename',1)" Nice syntax, huh? ;-) Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] stupid question I guess

2000-06-07 Thread Andrew Kenneth Milton
+[ Chris Withers ]- | josh on wrote: | can I set a local variable in zope on a dtml page | dtml-var variablename = 1 | | Yup: | | dtml-call "REQUEST.set('variablename',1)" | | Nice syntax, huh? ;-) Tsk tsk, that's global :-) dtml-let

Re: [Zope] stupid question I guess

2000-06-07 Thread Phil Harris
Is it global to the page, or local to the page ?!?!? - Original Message - From: "Andrew Kenneth Milton" [EMAIL PROTECTED] To: "Chris Withers" [EMAIL PROTECTED] Cc: "josh on" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, June 07, 2000 3:05 PM Subject: Re: [Zope] stupid question I

[Zope] FSSession newbie problem

2000-06-07 Thread Marcello Lupo
Hello, i'm trying to use the FSSession to have a little shopping cart for e-commerce. I can initialize the dictionary named "cart" and it is created in the datafile. When i try to update it with the data from my form i get the error: Zope Error Zope has encountered an error while

[Zope] www.zope.org cataloging server problem?

2000-06-07 Thread Hung Jung Lu
I have been trying to catalog a "News Item" and a "Product Release" inside www.zope.org, but I get the error === System Unavailable This site is currently experiencing technical difficulties. Please contact the site administrator for more

Re: [Zope] stupid question I guess

2000-06-07 Thread Tony McDonald
At 12:05 am +1000 8/6/00, Andrew Kenneth Milton wrote: +[ Chris Withers ]- | josh on wrote: | can I set a local variable in zope on a dtml page | dtml-var variablename = 1 | | Yup: | | dtml-call "REQUEST.set('variablename',1)" | | Nice syntax,

Re: [Zope] How to catch URL in DTMLDocuments/Methods

2000-06-07 Thread Evan Simpson
- Original Message - From: Ian Sparks [EMAIL PROTECTED] The conceptual problem I have is that DTMLMethods/Documents don't have a parameters tag like SQLMethods do, so I don't see how I can "trap" parts of the URL like SQLMethods do and use them internally in my Method/Document. There

Re: [Zope] FSSession newbie problem

2000-06-07 Thread Pavlos Christoforou
Hi Marcello On Wed, 7 Jun 2000, Marcello Lupo wrote: and macically i obtain the same error. this is the code i used: dtml-call FSSession dtml-unless "FSSession.has_key('cart')" dtml-call "FSSession.set('cart',{})" /dtml-unless dtml-call "FSSession['carrello'].update(REQUEST.form)"

[Zope] Newbie Question,

2000-06-07 Thread CURTIS David
Newbie Question, I wish to use use the date of a database file in my dynamic html code. For example, this database was last updated on 06/06/2000. I suppose that there must be a dynamic html tag that zope uses. What could it be? I looked at all the documentation and have yet to discover

Re: [Zope] WebObjects

2000-06-07 Thread Michael Bernstein
Luciano Ramalho wrote: [snip] The object-relational mapping mechanism WO uses, however, is very advanced and, in a basic level, easy to use too. Classes are written in Java by a case-like tool and automatically bound to tables. In fact, programmers rarely have any contact with SQL: all

Re: [Zope] (no subject)

2000-06-07 Thread R. David Murray
On Tue, 6 Jun 2000, Alexandre A. Drummond Barroso wrote: We are posting e-mails about it on the list for a while and nobody answered, so I must think that nobody on Zope universe is using Oracle 8i (neither NT nor Linux Oracle 8i client). I installed DCOracle for a client using 8i. The only

Re: [Zope] How to catch URL in DTMLDocuments/Methods

2000-06-07 Thread Chris Withers
Evan Simpson wrote: 3. Use a SiteAccess Access Rule on the folder, having it check to see if the next object to be traversed is your DTMLMethod. If so (and if the next name doesn't start with 'manage'!) remove the rest of the traversal path and store it in a REQUEST variable. Not too bad,

Re: [Zope] WebObjects

2000-06-07 Thread Chris Withers
Michael Bernstein wrote: As I recall (from a WebObjects demonstartion I sat through a long time ago), WO creates the most godawful mangled URLs that I had ever seen. As a result, a WO site cannot be spidered by search engines, or converted to a static copy using wget. Zope's not too hot on

[Zope] Searching Catalog for Permissions/Roles

2000-06-07 Thread Jason Spisak
Zopists, Does anyone know if it's possible to create a search in the ZCatalog based on permission or role. Such as: Search of the things from the ZCatalog where the current user has the 'View' permission for the text 'smith'. I love to push the envelope. :) -- Jason Spisak [EMAIL

Re: [Zope] Newbie Question,

2000-06-07 Thread Chris Withers
CURTIS David wrote: I wish to use use the date of a database file in my dynamic html code. For example, this database was last updated on 06/06/2000. I suppose that there must be a dynamic html tag that zope uses. What could it be? I looked at all the documentation and have yet to

[Zope] escaping with dtml?

2000-06-07 Thread Riku Voipio
Hello, I'm trying to get some doubleqoutes to the final document, but I've been unsuccesful so far: dtml-let hack="\"app\" ONCHANGE=\'location.href=cookie?app=+this.options[this.selectedIndex].value\'" /dtml-let -- Riku Voipio [EMAIL PROTECTED] 09-862 60764

[Zope] Newbie question: graphics in subdirs

2000-06-07 Thread Randy Edwards
I'm going to rewrite my web site in dtml and am using the latest stable Zope. Well, I should say I'll rewrite it after I get over this infuriating newbie problem I have. :-) ` I'm trying to get Zope to display an image from a subdir. I've whipped up a simple dtml document called "test". Test

Re: [Zope] stupid question I guess

2000-06-07 Thread josh on
wow great answer, thanks that has just peeled off another layer of zope mystery for me. can this be put in the dynamic faq? josh on - Original Message - From: Tony McDonald [EMAIL PROTECTED] To: Zope List [EMAIL PROTECTED] Sent: Wednesday, June 07, 2000 3:17 PM Subject: Re: [Zope]

Re: [Zope] Newbie question: graphics in subdirs

2000-06-07 Thread Rik Hoekstra
snip However, I want to keep all of my commonly used image files in a subdirectory called /images. So I create a folder called "images", upload another copy of logo.jpg into it, everything's fine. I change the dtml in the "test" document to be "dtml-var /images/logo.jpg". And it

[Zope] Q: Accessing ZSQL methods from Python

2000-06-07 Thread a . wacknitz
Hi all, my question is what type or value is returned by a ZSQL method that is invoked from Python? Or, more precisely, how can I determine if a field contains a NULL value? Sample code: def myZSQLAccessFromPython(self, aParameter): """myZSQLAccessFromPython() returns a record set from a

Re: [Zope] Newbie question: graphics in subdirs

2000-06-07 Thread Tony McDonald
At 11:35 am -0400 7/6/00, Randy Edwards wrote: dtml-var standard_html_header h2dtml-var title_or_id/h2 pThis is the dtml-var id Document./p pNow show a graphic: br dtml-var logo.jpg /p dtml-var standard_html_footer That references an image file in the root directory called logo.jpg.

Re: [Zope] Re: import-export

2000-06-07 Thread R. David Murray
On Wed, 7 Jun 2000 [EMAIL PROTECTED] wrote: So how do I export everything from root? Ok .. this is a real bugger, I can't believe it's taken me so long to figure it out (I was first checking file permissions etc). Answer: Make sure you are in the root folder and then click the Export...

[Zope] R: [Zope] escaping with dtml?

2000-06-07 Thread Marcel Preda
- Original Message - From: Riku Voipio [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 07, 2000 5:28 PM Subject: [Zope] escaping with dtml? Hello, I'm trying to get some doubleqoutes to the final document, but I've been unsuccesful so far: dtml-let hack="\"app\"

[Zope] What is favicon.ico and why is it an error?

2000-06-07 Thread J. Atwood
I have a few Zope sites email me any error reports and both of the sites (different machines) get this error about two or three times a day. Traceback: Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 151, in publish File

Re: [Zope] What is favicon.ico and why is it an error?

2000-06-07 Thread J. Michael Mc Kay
Internet explorer is looking for an favicon.ico or a custom icon file that customizes your bookmark entry into a users book mark list. If you get an icon editor and make a custom icon 16x16, I think, icon then you can put it in your home directory and when someone bookmarks the site they will

Re: [Zope] What is favicon.ico and why is it an error?

2000-06-07 Thread Oleg Broytmann
On Wed, 7 Jun 2000, J. Atwood wrote: So even though there are no references to it in the HTML MIE is looking for it? Is there anyway to fool it? Can I just put a blank DTML Document? Why would MIE be checking the server for that file? Becasue if it finds the file in a directory it would

[Zope] RE: accessing lists from dtml

2000-06-07 Thread mikk
Sorry, but... Nevermind, I got it: dtml-var "_['sequence-item'][0]" ^^^ !!! On Wed, 07 Jun 2000 10:40:59 mikk wrote: Hello all, If I have a REQUEST variable that equals a list, like this: ['ITEM_NUMBER','PRICE'] How would I get

Re: [Zope] escaping with dtml?

2000-06-07 Thread Jim Sanford
dtml-let hack="_.chr(34)+'app'+_.chr(34)+' ONCHANGE='+_.chr(39)+'location.href=cookie?app=+this.options[this.selectedIndex].value'+_.chr(39)" will do what you are trying to do - Original Message - From: Riku Voipio [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 07, 2000

Re: [Zope] Greetings,

2000-06-07 Thread R. David Murray
On Wed, 7 Jun 2000, ethan mindlace fremen wrote: CURTIS David wrote: I wish to use use the data of the database file in my html code. For example, this database was last updated on 06/06/2000. I suppose that there must be a dynamic html tag that zope uses. What could it be? I looked at

[Zope] Dynamically Picking which object to display

2000-06-07 Thread Jason Lee
I'm fairly new to Zope, so this may be a dumb question, and my vocabulary could be wrong, so please bear with me. I'm in the middle of building an e-commerce solution for my company, and we're evaluating Zope (and PHP and Servlets, but that's immaterial) as the platform on which to base this

[Zope] YA newbie question

2000-06-07 Thread Randy Edwards
I've got a newbie question that I can't seem to find an answer to after checking docs/faqs. This is sort of design-related. Presently I write web pages as tabled modules which are each put into various *.html files. I then string pages together with various modules using server side

Re: [Zope] escaping with dtml?

2000-06-07 Thread Dieter Maurer
Riku Voipio writes: I'm trying to get some doubleqoutes to the final document, but I've been unsuccesful so far: In a Python expression, you can use "chr(34)" to add a quote, e.g. dtml-let quote="chr(34)" /dtml-let Dieter ___

Re: [Zope] WorldPilot - Regular messages are attachments?

2000-06-07 Thread Dieter Maurer
Bryan Stillwell writes: Here's the traceback I received: Sorry, a Zope error occurred.p !-- Traceback (innermost last): File /usr/share/zope/lib/python/Products/WorldPilot/WorldPilot.py, line 1878, in getpart (Object: RoleManager) File

Re: [Zope] WorldPilot - Regular messages are attachments?

2000-06-07 Thread Bryan Stillwell
On Wed, 7 Jun 2000, Dieter Maurer wrote: Bryan Stillwell writes: Here's the traceback I received: Sorry, a Zope error occurred.p !-- Traceback (innermost last): File /usr/share/zope/lib/python/Products/WorldPilot/WorldPilot.py, line 1878, in getpart (Object:

Re: [Zope] Newbie question: graphics in subdirs

2000-06-07 Thread Phil Harris
eh tone, your using my name in vain again ;) - Original Message - From: "Tony McDonald" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; "Zope List" [EMAIL PROTECTED] Sent: 07 June 2000 16:56 Subject: Re: [Zope] Newbie question: graphics in subdirs At 11:35 am -0400 7/6/00, Randy Edwards

[Zope] seeking help on roles, authorization, permission

2000-06-07 Thread Craig Allen
I've largely been able to ignore most of the Zope security mechanisms until now, but I have this new intranet app that's causing me problems. I have a folder called Reuters that has my application's methods; it has a subfolder called Staging that has documents being reviewed and subsequently

Re: [Zope] Dynamically Picking which object to display

2000-06-07 Thread Kevin Dangoor
- Original Message - From: "Jason Lee" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 07, 2000 3:50 PM Subject: [Zope] Dynamically Picking which object to display I'm fairly new to Zope, so this may be a dumb question, and my vocabulary could be wrong, so please bear

[Zope] possible security flaw? - and, request for a phone conference.

2000-06-07 Thread Jon Franz
Hello, First off, sorry for the cross-posting of this message to admin and to development. I'm a software developer for a major ISP in the Midwest region of the USA. Recently we began evaluating Zope for use in our web application development, internally and for our clients, and have

[Zope] dtml-sendmail and Content-transfer-encoding

2000-06-07 Thread Chien-Pin Wang
Dear All: I'm using dtml-sendmail to send messages of Chinese characters from Zope. From time to time I got wierd mail delivery behaviors. I was told then that mail header/message body must follow RFC-822 and RFC-2047 standard with proper encoding, if not in US-ASCII. Basically these RFCs

[Zope] Zope errors

2000-06-07 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I seem to get more than a few errors emailed to me, and am trying to track down how they are occurring. I never see these errors myself which makes it frustrating. I know the url where these occur. Most of them occur at forms. How can I get