Re: [Zope] Zope Book Beta

2000-11-06 Thread Robin Becker
In article [EMAIL PROTECTED], Michel Pelletier [EMAIL PROTECTED] writes Robin Becker wrote: ... I belive all reference to xslt methods has been removed. Python methods will be part of the 2.3 release, and Perl methods are mentioned in the book as being a component add on that must be

RE: [Zope] Help wanted on Zope ZClasses/DTML please.

2000-11-06 Thread Seb Bacon
I have worked out thanks to Seb's comments that the problem I have with the use of manage_delObjects is (I think) that I am passing in the title or id of the object to be deleted rather than the object itself. Not quite... manage_delObjects takes a string which is the id of the object to be

Re: [Zope] images in directories

2000-11-06 Thread Chris Withers
Pete Prodoehl wrote: Is it possible to have an image named "image.gif" or "image.jpg" ? (Are file extensions allowed? If so, how are those objects addresses?) dtml-with IMAGES dtml-var image.gif /dtml-with or dtml-var "IMAGES.getitem('image.gif',1)" cheers, Chris Pete

Re: [Zope] Swishdot, SiteAccess

2000-11-06 Thread Chris Withers
Anders Eriksson wrote: What if I want to combine two of the larger products, The Portal ToolKit and the Squishdot. How would one go about to do this? I would like to have the membership and the other parts from PTK added to the Squishdot (or the other way around - which ever is easiest).

Re: [Zope] how to retrieve variables values from the URL

2000-11-06 Thread Chris Withers
jacintha menezes wrote: Hi, In lookup query when i give the input as Emp_no submit it , following url comes in the browser address space. http://192.168.222.217:8080/project/Admin/looktool_report?Emp_no=4SUBMIT=Su bmit+Query how can i retrieve the variables values from the URL

[Zope] Newbie question

2000-11-06 Thread Brown Fox
Hello, i want to view a dtml-document, calling it as a variable. For example: dtml-var standard_html_header h2dtml-var title_or_id/h2 p dtml-var testfile P dtml-var standard_html_footer where this file is called with this string: a href="test3?testfile=Running"test3/A The result i now get is

Re: [Zope] IIS and Zope share same problem :-S

2000-11-06 Thread Chris Withers
Pierre-Julien Grizel wrote: Hum... A possible way to solve this problem is to practice the "you can't do ANYTHING but..." policy... And, thus, according proxy roles to the methods that must access it, such as index_html. I know it's constraining but with a little work we can end up with

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

2000-11-06 Thread Chris Withers
Max Møller Rasmussen wrote: def __call__(self,client=None,mapping={},**kw): This method accepts an object in which it will look up values to insert in the dtml file, and a mapping object (dictionary) that also will look up values to insert. So i guess that is what (None,md) does. But

[Zope] Folderish object -API

2000-11-06 Thread Petr Knapek
Hi Zopists, I try to create ISNGFolder class which is subclassed from Zope Folder class. During instantiation of this ISNGFolder class I also try to set permissions ['View', 'Access contents information'] for role 'Content' by calling manage_role('Content', ['View', 'Access contents

Re: [Zope] Zope and Sybase Stored Procedures

2000-11-06 Thread Ralph Heinkel
Hi, we are using Zope 2.1.6 with Sybase 11.9.2 on Suse Linux, and calling stored procedures just works fine. e.g. create procedure csp_add_barcode @tableName varchar(12), @barcode numeric(8) OUT AS insert into BarcodeItem (tableName) values (@tableName) select @barcode

Re: [Zope] objectValues type?

2000-11-06 Thread Rik Hoekstra
I have this simple tree: dtml-tree branches="objectValues" skip_unauthorized="1" input type="checkbox" name="delItems:list" VALUE="dtml-var id" a target=main href="dtml-absolute_url;"dtml-var title_or_id/a /dtml-tree The anchor's target is main. But it if it is a Folder I want the

[Zope] Sorting 'in'

2000-11-06 Thread Yvonne Totty
Hi! I need a query sorted by 2-3 different attributes. The 'in' sort only lets me do it by one. Is there a way to get around it? TIA -y ~~~ Yvonne Totty Database Engineer - Wolverine: You actually go outside in these

[Zope] Properly intergating reportlab and Zope

2000-11-06 Thread ed colmar
Hi all! I'm still trying to get this to work, so I'm going to try the lists for assistance again. TIA!!! I am working on a project using zope and reportlab. The goal is to have uploaded images end up in a formatted PDF file. I have both of these halves completed, I need to figure out how to

Re: [Zope] Sorting 'in'

2000-11-06 Thread Daniel Rusch
If it's a database query sorting with sql first. i.e. ORDER BY X,Y HTH Dan Yvonne Totty wrote: Hi! I need a query sorted by 2-3 different attributes. The 'in' sort only lets me do it by one. Is there a way to get around it? TIA -y ~~~ Yvonne

RE: [Zope] Sorting 'in'

2000-11-06 Thread Yvonne Totty
Yes, that is what I am doing, however was wanting to not have to write several Z SQL Methods. 8) ~~~ Yvonne Totty Database Engineer - Wolverine: You actually go outside in these things? Cyclops: Well, what would you prefer? Yellow

[Zope] Need win32 dll for DynPersist !

2000-11-06 Thread m.kobald
Hi all, we need the DynPerisist.dll (Win2000) for presentation purpose. If someone has compilied this dll, would you please mail it to me. (ZPattern 0.4.3 beta 1) Normally we develop on Linux .. ;) . Thanx and greetings from Heidelberg/Germany Micha

Re: [Zope] Need win32 dll for DynPersist !

2000-11-06 Thread Bill Welch
I bounced him the one I got from Itamar a couple weeks ago. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Sorting 'in'

2000-11-06 Thread Gregory Haley
hi yvonne, in your zsql method, you can order by several variables in the same method call. so you can do it all in one method. ciao! greg. Gregory Haley Venaca.com Yvonne Totty wrote: Yes, that is what I am doing, however was wanting to not have to write several Z SQL Methods. 8)

[Zope] recursive constructions

2000-11-06 Thread Robin Becker
I would like to duplicate a folderish zclass path and copy some properties across from one tree /R/A/B/C to another /L/A/B/C. The request to create an object is http://localhost/R/manage_addProduct/myProd/myProd_factory/myProd_add?id=A,prop=1 I would like to then create /L/A/B/C etc using

Re: [Zope] Zope Book Beta

2000-11-06 Thread Michel Pelletier
Robin Becker wrote: In article [EMAIL PROTECTED], Michel Pelletier [EMAIL PROTECTED] writes Robin Becker wrote: ... I belive all reference to xslt methods has been removed. Python methods will be part of the 2.3 release, and Perl methods are mentioned in the book as being a component

[Zope] Mirroring Zope sites

2000-11-06 Thread Christopher J. Kucera
Hello, I'd like to be able to take a "snapshot" of a Zope site (probably using the recursive "wget") so that it can be served from Apache alone. I'm running into problems coping with files named "x_html" (most notably "index_html") . . . Apache serves up the files as plaintext, so you just get

Re: [Zope] Sorting 'in'

2000-11-06 Thread Steve Spicklemire
Hi Yvonne, You could use Zieve, (http://www.zope.org/Members/sspickle/Zieve) or you could render the 'order by' part of your clause from a variable in the name space, or possibly the REQUEST itself. There was also a patch submitting at one point that allows variable (and I think multiple)

[Zope] dtml-in over the output from my method

2000-11-06 Thread Tim Hicks
I am trying to create a zope product in python but have got stuck with using the dtml-in tag to iterate over a method (or is it a function? I get a little mixed up) of my class. Here is the method, def list_messages(self): lr = open(self.user_dir+'/msg_list', 'r') spl =

Re: [Zope] Folderish object -API

2000-11-06 Thread Andy McKay
The error would be with aq_acquire, do you have that specified anywhere in your code (eg in the __init__)? -- Andy McKay, Developer. ActiveState. - Original Message - From: "Petr Knapek" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 06, 2000 4:46 AM Subject: [Zope]

Re: [Zope] zope error

2000-11-06 Thread Andy McKay
It sounds like there is a problem writing to the log file. Im not sure what errorno 9 in IO is but it could be bad filename if you have specified one. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Atomasoft Network President" [EMAIL PROTECTED] To: [EMAIL

Re: [Zope] Sorting 'in'

2000-11-06 Thread Andy McKay
Put an argument as sort_order and then your statement as: SELECT * FROM Foo ORDER BY dtml-var sort_order ASC -- Andy McKay, Developer. ActiveState. - Original Message - From: "Yvonne Totty" [EMAIL PROTECTED] To: "Daniel Rusch" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday,

Re: [Zope] catalog DTML Document

2000-11-06 Thread Dieter Maurer
Wolfgang Strobl writes: "Finding"a bunch of DTML Documents into a Zcatalog is easy. But how to do that programmatically? I haven't even found a way of doing that for a single DMTL Document. You call the catalog with your search terms as keyword paramters: dtml-in

RE: [Zope] dtml-in over the output from my method

2000-11-06 Thread Max M
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Hicks I am trying to create a zope product in python but have got stuck with using the dtml-in tag to iterate over a method (or is it a function? I get a little mixed up) of my class. Here is the method, def list_messages(self):

Re: [Zope] dtml-in over the output from my method

2000-11-06 Thread Andy McKay
The problem is the first time your for loop runs it will return to the dtml and will not run anymore. Rather build up a list, or list of objects inside your method and then return. Dtml-in needs to see a list. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Tim

Re: [Zope] catalog DTML Document

2000-11-06 Thread Wolfgang Strobl
On 6 Nov 2000, at 21:46, Dieter Maurer wrote: Wolfgang Strobl writes: "Finding"a bunch of DTML Documents into a Zcatalog is easy. But how to do that programmatically? I haven't even found a way of doing that for a single DMTL Document. You call the catalog with your search terms

[Zope] problems with Openticket in Zope

2000-11-06 Thread Andrew Miles
Hello, I have just installed the Openticket, ticketing system in Zope, but am having some troubles. I can log into it as an ACL user and add a new client to it, but when I try and create a new ticket, I get an error of: Zope Error Zope has encountered an error while publishing this

RE: [Zope] Help wanted on Zope ZClasses/DTML please.

2000-11-06 Thread Bowyer, Alex
Thanks for the e-mail Seb. I am afraid I am still having problems here, so I will show my code again, and hopefully you or someone else will be able to help. To recap : I am creating a news page and an interface to edit it using two custom ZClasses, Article and Page. A Page object contains

[Zope] testing a product, then it disappears after restart

2000-11-06 Thread Tim Hicks
I am trying to create a zope product and it basically works in python, so I thought I would start trying to 'zopify' it. I created a directory in the zope Products directory called zIMAP and placed my code in there, along with a __init__.py file to initialise the product. Here is what it

Re: [Zope] dtml-in over the output from my method

2000-11-06 Thread Tim Hicks
- Original Message - From: Max M [EMAIL PROTECTED] To: Tim Hicks [EMAIL PROTECTED]; Zope@Zope. Org [EMAIL PROTECTED] Sent: Monday, November 06, 2000 9:48 PM Subject: RE: [Zope] dtml-in over the output from my method snip def list_messages(self): class msg: def

[Zope] ISPs that host zope

2000-11-06 Thread Keith Alperin
Greetings. I am a complete zope newbie but am enthralled by the technology. I am about to begin working on a personal web project and would like to build it in/with zope. Can anyone recommend a good ISP that will: -host and support zope -give me access to an RDBMS (MySQL or any other system

[Zope] Asked a million times already... Im sure

2000-11-06 Thread Chris Trowbridge
I know that many people have probobly already asked this, but how would I do the equivilant of a server side include? It seems obvious enough from examples that it is merely... dtml-var filename but I always end up with either blank content or '[]' sorry if you've answered this too many

Re: [Zope] images in directories

2000-11-06 Thread Jason C. Leach
hi, Sure they are. If you ftp a jpg to the server it comes up with an id of bla.jpg, you can then refrence it in html just like you would on an Apache server or whaterver img src="../../bla.jpg" j. .. . Jason C. Leach ... University College of the Cariboo. .. On Mon,

[Zope] ZSybaseDA not working

2000-11-06 Thread Manuel Amador (Rudd-O)
Hi to everyone, especially the experts =) The reason for this email is an urgent need for a Sybase ASE database to work properly. Here's the deal. It worked like a charm on windows with ODBC.But now I moved to Linux, compiled ZSybaseDA and installed it. It works for selects and updates,

[Zope] LDAP KeyError problem

2000-11-06 Thread Michael Blewett
Hi Everyone, We have a problem with the LDAP Adapter. I've searched the entire Zope Doc website and thru the mailing list archives and can't find any examples of anything that come remotely close. If we define an LDAP filter (called Academics) as thus: Base DN: o=Monash University, c=au and

RE: [Zope] Asked a million times already... Im sure

2000-11-06 Thread Max Møller Rasmussen
From: Chris Trowbridge [mailto:[EMAIL PROTECTED]] I know that many people have probobly already asked this, but how would I do the equivilant of a server side include? It seems obvious enough from examples that it is merely... dtml-var filename but I always end up with either blank

Re: [Zope-dev] Store values thread-wide ?

2000-11-06 Thread Chris Withers
Look into one of the many session products. There's a proposal about bringing this into the Zope core too. Have a look on dev.zope.org. cheers, Chris Martin Grönemeyer wrote: Hello everyone, I'm playing around with Zope-Objects and find out, that the SecurityManager holds it's

[Zope-dev] It's been a while

2000-11-06 Thread Roch'e Compaan
It's been a while since i've had time to explore ZPatterns - and now the time has come that I am considering to base development for a new project on ZPatterns. I think I'm better prepared now - I read Coad's Object Models, and implemented a data management layer in Delphi. The project envolves

Re: [Zope-dev] Debugging ConflictErrors

2000-11-06 Thread Steve Spicklemire
Hi John, This is one of the problems with SkinScript, and I've not found any great way to sort through it. Here are my two (three?) cents worth 1) Break the SkinScript triggers down to the simplest possible event, and test them individually. If this is not possible, then debug the

Re: [Zope-dev] It's been a while

2000-11-06 Thread Steve Spicklemire
Hi Roche, PJE produced some great comments about this in reaction to my lame attempt at an example. There also some good discussion about other questions on the list. Here are a few choice posts: http://lists.zope.org/pipermail/zope-dev/2000-October/007232.html

[Zope-dev] RFC: Fishbowl proposal, CorbaClientIntegration

2000-11-06 Thread Tres Seaver
At the request of a Zopista who found my earlier work toward Zope-CORBA integration, I have created a fishbowl proposal at: http://dev.zope.org/Wikis/DevSite/Proposals/CorbaClientIntegration Tres. ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Fw: 2gb file size

2000-11-06 Thread Andy McKay
Thank you everyone for your help. I truncated the file and restarted Zope successfully. I had a brief period of problems when I forgot use binary mode for truncating the file - duh. Anyway, I am running 2.2.1 and it doesnt work with a 2gb file. I didnt analyse where the problem lies, however I do

Re: [Zope-dev] ZClasses not copyable - why?

2000-11-06 Thread Michel Pelletier
Philipp Auersperg wrote: It is not posible to copy ZClasses, when I try to copy a ZClass in the Management Interface I get the error:'The Item 'blorf' does not support that operation' I digged into that and found that in the ZClass.py there exists a method def cb_isCopyable:

[Zope-dev] calling dtml method with same name up the hierarchy.

2000-11-06 Thread Neil K
I'd like to be able to nest footers and headers. The thing I would expect is to have a standard_html_footer DTML method in the root, then be able to have standard_html_footers in subfolders which add their stuff, then call the root one. like: /standard_html_footer: (c) 2000 Warner Brothers

RE: [Zope-dev] calling dtml method with same name up the hierarchy.

2000-11-06 Thread Casey Duncan
The following should work in your nested standard_html_footer to call the higher level one without infinite recursion: dtml-with "PARENTS[1]" dtml-var standard_html_footer /dtml-with hth, Casey D. ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Fw: 2gb file size

2000-11-06 Thread Andy McKay
I did do a How-to as well http://www.zope.org/Members/andym/2gig -- Andy McKay, Developer. ActiveState. - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 06, 2000 9:26 AM Subject: Re: [Zope-dev] Fw: 2gb file size Thank you

Re: [Zope-dev] Fw: 2gb file size

2000-11-06 Thread Shane Hathaway
Andy McKay wrote: I did do a How-to as well http://www.zope.org/Members/andym/2gig Not long ago I created a wrapper around File objects which automatically splits the file before it reached a predefined limit. It could handle any number of partitioned file segements. I tried it with

Re: [Zope-dev] ZCatalog index error

2000-11-06 Thread Chris McDonough
Andy, This is a known issue with the catalog (searching the collector for "key error" will show you how common it has been). Chris Petrilli should be checking in some changes to the CVS 2.2 branch (and the trunk?) tomorrow that resolves it. The problem is evidently related to the way

Re: [Zope-dev] ZCatalog index error

2000-11-06 Thread Andy McKay
Thanks, will look forward to 2.2.3! I deleted an index and metadata, re created them and recatalogued the affected objects. That seem to solve it in my initial tests... keeping my fingers crossed. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Chris McDonough"

[Zope-dev] DataSkins containing DataSkins

2000-11-06 Thread John Eikenberry
I have an idea for getting around my ConflictError problem without a major redesign. But it involves DataSkins containing DataSkins. I have a few questions about this... The base DataSkin will be in a Rack. Would there be any issues in making the embedded DataSkins (contained on the base