[Zope-dev] Java/Python

2001-01-13 Thread Stefane Fermigier
On Fri, Jan 12, 2001 at 12:00:08PM -0800, [EMAIL PROTECTED] wrote: From: "Dario Lopez-Ksten" [EMAIL PROTECTED] Subject: [Zope-dev] Using Java (or JDBC) with Zope/Python Date: Fri, 12 Jan 2001 15:09:39 +0100 Organization: CITES charset="iso-8859-1" Hello! I am exploring the

Re: [Zope-dev] How do I create a folder with subfolders, docs etc?

2001-01-13 Thread Robert Prosenc
try this: dtml-call expr="manage_addFolder('mainfolder')" dtml-call expr="PARENTS[0]['mainfolder'].manage_addFolder('subfolder')" it works with zope 2.2.4 regards rob. Robert Prosencweb: http://www.matrixware.at/

[Zope-dev] ZPatterns implementation question: images attributes?

2001-01-13 Thread Zope mailing lists
I have a specialist (actually, EMarket has a specialist grin) that manages objects that from a design point of view I think should have a couple of Images as attributes (thumbnail and fullsized images of the product). The question is, how do I implement this using ZPatterns? Currently all of

Re: [Zope-dev] ZPatterns implementation question: images attributes?

2001-01-13 Thread Steve Alexander
Zope mailing lists wrote: I have a specialist (actually, EMarket has a specialist grin) that manages objects that from a design point of view I think should have a couple of Images as attributes (thumbnail and fullsized images of the product). The question is, how do I implement this using

Re: [Zope-dev] ZPatterns implementation question: images attributes?

2001-01-13 Thread Michael Bernstein
RDM wrote: I have a specialist (actually, EMarket has a specialist grin) that manages objects that from a design point of view I think should have a couple of Images as attributes (thumbnail and fullsized images of the product). The question is, how do I implement this using ZPatterns?

[Zope-dev] Massive scalability

2001-01-13 Thread Michael Bernstein
I am currently planning two separate 'Archive' type projects/Products. In both cases, I need to make sure that my implementation will scale to hundreds of thousands or even millions of objects. In one project the objects are very simple ZClasses with a few attributes, in the other project, the

Re: [Zope-dev] ZPatterns implementation question: images attributes?

2001-01-13 Thread Zope mailing lists
On Sat, 13 Jan 2001, Steve Alexander wrote: Here's the simplest approach that I can think of. Thanks, Steve, that's great. I can even simplify it since there's a one to one correspondence between products and images, so I can just use the product Id as the Image Id. If that correspondence

[Zope-dev] (no subject)

2001-01-13 Thread asdksoad
GET YOUR OWN 100 MEG WEBSITE FOR ONLY $11.95 PER MONTH TODAY! STOP PAYING $19.95 or more TODAY for your web site, WHEN YOU CAN GET ONE FOR ONLY $11.95 PER MONTH! DO YOU ALREADY HAVE A WEBSITE? ALL YOU HAVE TO DO IS TRANSFER THE DOMAIN TO OUR SERVERS AND UPLOAD YOUR DATA AND YOU ARE READY TO

[Zope] RE: Zope 2.3 and manage_page_style.css unauthorized

2001-01-13 Thread Ron Bickers
Well... that figures. I see now that this was added to the Collector earlier this evening (http://classic.zope.org:8080/Collector/1848/view). ___ Ron Bickers Logic Etc, Inc. [EMAIL PROTECTED] -Original Message- From: Ron Bickers [mailto:[EMAIL PROTECTED]] Sent:

Re: [Zope] Newbie question: HTTP variables

2001-01-13 Thread Michael Bernstein
Dean Deb Ekstrand wrote: I'm trying to figure out Zope (on a time crunch, too), and I'm wondering how to do something. How can I access HTTP variables in my DTML code? Specifically, I want to return code specific to the user's browser. I know that HTTP has provisions for determing

RE: [Zope] with a variable

2001-01-13 Thread Eric Walstad
// I want to get some properties for a zclass instance after being // passed its // id in a variable. In these tests I have been defining the varible in the // code, in the final case it will be passed through the url. // // Using the id directly as above works fine, it writes the //

[Zope] Collector Product ??

2001-01-13 Thread Peter Bengtsson
I'm looking for a bug-tracking-software-system. Does DC give out their Collector (http://classic.zope.org:8080/Collector) Product for free for us? Where can it be downloaded? Is there anybody out there who would care to share their product with me? ;) Any hints? Peter

Re: [Zope] NameError: Zope2.3a2 and LoginManager-0-8-8b1

2001-01-13 Thread Shane Hathaway
Janko Hauser wrote: Hello, I try to install LoginManager on a new Zope2.3. I have made the before mentioned changes regarding Super and the product shows up fine in the Product folder. But I can not add a LoginManager in a normal folder with the attached error message. I have seen,

Re: [Zope] document_src not doing what I thought it did

2001-01-13 Thread Tim Hicks
- Original Message - From: Dieter Maurer [EMAIL PROTECTED] To: Tim Hicks [EMAIL PROTECTED] Sent: Friday, January 12, 2001 10:28 PM Subject: Re: [Zope] document_src not doing what I thought it did Tim Hicks writes: I have a dtml-documentish zclass and have created a custom edit

Re: [Zope] reindex when a zclass is edited

2001-01-13 Thread Tim Hicks
- Original Message - From: Aleksander Salwa [EMAIL PROTECTED] To: Tim Hicks [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, January 12, 2001 8:34 AM Subject: Re: [Zope] reindex when a zclass is edited On Thu, 11 Jan 2001, Tim Hicks wrote: from a builtin edit form as my

Re: [Zope] OpenBSD 2.8 woes

2001-01-13 Thread Shane Hathaway
Jan Muenther wrote: However, after installing the Python packages that comes shipped with the OpenBSD 2.8 CDs, the Zope installation script runs nicely, but when I try and access the management screen, I only see LOADS of error messages: Zope Error Zope has

[Zope] REQUEST object - obtaining variables from

2001-01-13 Thread Lee
Hi, I am having some problems with the REQUEST namespace/object. I understand that if I submit form data then it can be retrieved using the REQUEST object. I have looked at Chapter 7 (Advanced DTML) for support but I'm still no closer to success. I have a DTML method, which passes an unknown

[Zope] Lines Property and special namespace variable

2001-01-13 Thread Tom Scheidt
Hi all, Im trying to changes the contents of a lines property into floating point numbers a la: dtml-in lines dtml-let "_.float(lines)" dtml-if "lines 0"font color="#006600"/dtml-if dtml-var sequence-item /dtml-in The contents of the lines property are: 25.32 -16.50 Thanks in advance.

Re: [Zope] Collector Product ??

2001-01-13 Thread Michael Bernstein
Peter Bengtsson wrote: I'm looking for a bug-tracking-software-system. Does DC give out their Collector (http://classic.zope.org:8080/Collector) Product for free for us? Where can it be downloaded? Is there anybody out there who would care to share their product with me? ;) The collector

Re: [Zope] Collector Product ??

2001-01-13 Thread Chris McDonough
I believe you can download Ken Manheimer's Tracker product via CVS: http://www.zope.org//Members/klm/TrackerWiki/TrackerCVSInstructions - Original Message - From: "Peter Bengtsson" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, January 13, 2001 7:35 AM Subject: [Zope] Collector

RE: [Zope] Zope Marketing

2001-01-13 Thread Stephan Goeldi
I searched on several sites for Zope Marketing products like e.g. high quality color PDF or slides, targeting management or marketing people. Not a bad idea. I wouldn't mind having a go at it, can someone at DigiCool send me a large version of the Z ball logo and the fonts used by 'Zope'?

[Zope] TREE tag - not showing Folderish objects that contain no sub-objects

2001-01-13 Thread Kevin Howe
I currently have a TREE tag as follows: dtml-tree expr="PARENTS[-1]" branches_expr="objectValues()" sort=id which basically says: "Display objects which can contain sub-objects" such as Folders, Folderish Products, ZClassed based on ObjectManager, etc. What I would like to do is display

Re: [Zope] Lines Property and special namespace variable

2001-01-13 Thread Aleksander Salwa
On Sat, 13 Jan 2001, Tom Scheidt wrote: Im trying to changes the contents of a lines property into floating point numbers a la: dtml-in lines dtml-let "_.float(lines)" dtml-if "lines 0"font color="#006600"/dtml-if dtml-var sequence-item /dtml-in The contents of the lines property

Re: [Zope] hasRole bug or feature in 2.2.?

2001-01-13 Thread Chris McDonough
Thank god for Dieter. :-) I'll trust that you're right, Dieter, because reading the traversal machinery code makes my head hurt. :-) - Original Message - From: "Dieter Maurer" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, January 12,

RE: [Zope] hasRole bug or feature in 2.2.?

2001-01-13 Thread Randall F. Kern
From: Ron Bickers [mailto:[EMAIL PROTECTED]] If this is true, it explains clearly Zope's behavior. It's really a browser "feature" and not a Zope issue at all. Yes, that's the problem. My solution is to use a custom UserFolder, which sets a temporary cookie when a normal HTTP login is

Re: [Zope] Zope Marketing

2001-01-13 Thread Kevin Teague
On 1/13/01 12:30 PM, "Stephan Goeldi" [EMAIL PROTECTED] wrote: I searched on several sites for Zope Marketing products like e.g. high quality color PDF or slides, targeting management or marketing people. Not a bad idea. I wouldn't mind having a go at it, can someone at DigiCool send me a

Re: [Zope] REQUEST object - obtaining variables from

2001-01-13 Thread Jens Vagelpohl
here's how you could display the form variables on the receiving object: tested dtml-in expr="REQUEST.form.items()" dtml-var name="sequence-key": dtml-var name="sequence-item"br /dtml-in /tested REQUEST.form will contain all the fields from the form and REQUEST.form.items() will give you

[Zope] importing string module in python METHOD - a problem that shouldn't be aproblemproblem

2001-01-13 Thread Lee
Hi, I have a Python method that needs to use the string module. In the method body I have the 'import string' statement but when I try it = Error Type: ImportError Error Value: __import__ not found The documentation collaborates that import statements (the string module

Re: [Zope] importing string module in python METHOD - a problem that shouldn't be aproblemproblem

2001-01-13 Thread Shane Hathaway
Lee wrote: I have a Python method that needs to use the string module. In the method body I have the 'import string' statement but when I try it = Error Type: ImportError Error Value: __import__ not found import is available in Python Scripts but not Python Methods.

[Zope] ZClasses meet PythonScripts, sample request

2001-01-13 Thread Timothy Wilson
Hi everyone, I'm looking forward to using some PythonScripts as methods of some ZClasses because it seems like a much cleaner way to do things. I wonder if one of the PythonScript gurus out there would be willing to show an example of two presumably common PythonScript/ZClass tasks: processing

Re: [Zope] importing string module in python METHOD - a problem that shouldn't be aproblemproblem

2001-01-13 Thread Evan Simpson
From: "Lee" [EMAIL PROTECTED] I have a Python method that needs to use the string module. In the method body I have the 'import string' statement but when I try it = As Shane mentioned, 'import' is only enabled in Python Scripts, but Python Methods pre-import all of the same modules as DTML,

RE: [Zope] importing string module in python METHOD - a problem that shouldn't be a problem problem

2001-01-13 Thread Ron Bickers
You can using the string module in Python Methods the same way you can in DTML. There's no need to import anything. Try _.string.split(...) ___ Ron Bickers Logic Etc, Inc. [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On