Re: [Zope] REQUEST.set size

2000-10-17 Thread Manuel Amador (Rudd-O)
maybe you should try to put your data in a list or a dictionary. Anyone can help with the syntax? I can't remember... =) Paul Zwarts wrote: Hi all, I am new to Zope but worked for 2 years in a dev-env called Uniface so Im fairly up to speed on Zope quickly. But I am having a problem writing data

[Zope] urgent

2000-10-17 Thread jacintha menezes
hi, i am using zope(2.2.1) for sending mails, but it is not possible to send attachment. kindly let me know the reason have made use of mime to send attachment. thanks, jacintha

[Zope] (no subject)

2000-10-17 Thread Robert Joseph Roos
I want to create a large number of properties for a Zclass. My Zclass has a propertysheet named Schedule. I've tried stuff like this: dtml-with propertysheets dtml-with common dtml-with Schedule manage_addProperty(name='foo', value='bar', type='string') /dtml-with /dtml-with /dtml-with The

Re: [Zope] Microsoft Zope

2000-10-17 Thread Wolfgang Strobl
On 16 Oct 2000, 12:27 Damien Morton wrote: http://msdn.microsoft.com/library/default.asp?URL=/library/techart/Des ignKMS ols.htm Looks like MS has embraced the Zope way of doing things "You must have scripting enabled in order to view this site. Please modify your browser's settings

[Zope] Upgrade from 201 to 222

2000-10-17 Thread Paul Zwarts
Hi all, I have installations of Zope, one for development and one for our live system. We had run Zope 201 on both machines for quite some time, and have just migrated the devshop to the latest Zope build 222. I have noticed that the import/export mechanisms work and I can import across both

[Zope] Re: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of theoffice Monday, October 16th)office Monday, October 16th)

2000-10-17 Thread Darin Lee
I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!

[Zope] [OT ?... HTTP ?...] redirect W/ POST data

2000-10-17 Thread Pierre-Julien Grizel
Hi, [This message may be off-topic Sorry...] I know how to do a RESPONSE.redirect with GET data (very easy : RESPONSE.redirect ('url?data=valueso_on=xxx'). But I'd like to do the same with POST data, that is, data that doesn't show up in the URL. I suppose there is a way to feed

Re: [Zope] Re: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of theoffice Monday, October 16th)office Monday, October 16th)

2000-10-17 Thread Olivier Deckmyn
Ok...No problem...We will... - Original Message - From: "Darin Lee" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 17, 2000 10:34 AM Subject: [Zope] Re: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of theoffice Monday, October 16th)office Monday, October 16th) I

Re: [Zope] MySQL and Zope struggles

2000-10-17 Thread Monty Taylor
You can do it with temporary tables. Like this- create temporary table foo ( note_id int, notes varchar ); insert into foo select Note.note_id, Note.notes from Note, Artist where Note.note_id=Artist.note_id and Artist.artist_id=23; update foo set notes="asdlfna"; replace into Note select

Re: [Zope] Medusa Monitor

2000-10-17 Thread Tony McDonald
At 1:18 pm -0700 16/10/00, Karl Anderson wrote: Terry Kerr [EMAIL PROTECTED] writes: I don't think the monitor gives you any advantage? I have never used a ptyhon prompt before...I will have to give it a go. terry Actually, the advantage of the monitor is that it runs in the same process

[Zope] Roles as members of other roles?

2000-10-17 Thread Hamish Lawson
I've not kept up with all the different mechanisms for users and groups that are currently under development in the Portal Tookit and other activities. Do any of them support the idea of a role or group collectively being a member of some other role? For example, if there was a MarketingStaff

[Zope] Force DTML evaluation?

2000-10-17 Thread Stefan H. Holek
I created a Renderable derived ZClass to act as a "content box". I am basically providing title and content attributes, and when called like dtml-var myBox it nicely renders into an HTML table. Then I realised I could not use DTML in the content (type: text). duh! Is there a function I could

Re: [Zope] Name lookup emulation with a Product

2000-10-17 Thread Chris Withers
Pierre-Julien Grizel wrote: I looked at the __call__ method (and read the 'isDocTemp' thread ;-) ) and, if I must, I can replace m1 and m2 with a __call__ method taking another parameter specifying what kind of action it has to do. Well, there's another little gem which got covered in a

[Zope] Question about Managed Meeting and ZopePTK

2000-10-17 Thread Marc DANAI
Hi, Do you have any idea about integration of Managed Meeting product in ZopePTK? Is it possible to have some dedicated part in main page (like News) for meeting? My idea is to allow registred user to announce a meeting and after approval by manager, the meeting goes to main portal site. Any

Re: [Zope] DUMB NEWBIE QUESTION

2000-10-17 Thread Ronald L. Chichester
I had this problem myself. I'm using Mandrake 7.1. There are some things to do, depending on which distribution you are using. What I did was use KPackage to uninstall Zope. Then you get http://www.zope.org/Members/nemeth/howtos/zopeandapacherh61 and follow the instuctions. This works

[Zope] What Products created What Permissions

2000-10-17 Thread Chris Withers
Michael Bernstein wrote: On a slightly different note, I think that the permissions list should be viewable in two more ways: A view where permissions are grouped into 'subjects', (for example all How about listing what products they're used by/defined in? That could be incredibly useful for

Re: [Zope] Access Control vs Publishing Protoco

2000-10-17 Thread Chris Withers
Seb Bacon wrote: edit a document through webDAV but *not* TTW. In my mind, you're either authenticated to do a task, or you're not. It doesn't matter *how* you do it. That's why 'listable' or something like it would be a better name for the permission than 'URL Traversable', IMHO (although

Re: [Zope] Access Control vs Publishing Protoco

2000-10-17 Thread Chris Withers
Dieter Maurer wrote: Management, however, would be more difficult, as there are no good defaults for the "URL Traversable" permission. It is not easy, to determine (e.g.) for a DTML method/document whether it is only used as a component (such as "standard_html_header") or is a full grown

Re: [Zope] Access Control vs Publishing Protoco

2000-10-17 Thread Chris Withers
Dieter Maurer wrote: My primary concern (and maybe Chris') is, how can we prevent these objects to be viewed by Anonymous. Yup, that's exactly my point... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Re: Quoting

2000-10-17 Thread Chris Withers
Dieter Maurer wrote: Where would you use this "id_quote"? The only useful place might be the action of an object creation or renaming. Exactly... However, I am not sure, that I would prefer to get a strangely encoded id rather than an exception that tells me some characters are not

[Zope] Searching a LocalFS through Zope

2000-10-17 Thread neeloy_saha
Hi all, Well I had sent this earlier but i want to resend this again!! I have not yet received a reply back. Can anyone suggest me a way out ??? I have lots of old html/ documents that I want to publish through my zope portal. To ensure that I do not tweak html files I have used the LocalFS

[Zope] Away Message (Apologies)

2000-10-17 Thread Darin Lee
Zopistas, I apologize for the "Away" messages that have been popping up on the list. I needed to add a "zope.org" to my auto-response ruleset. Unfortunately, I was away - and didn't realize this was happening. :-| Sorry for all the noise, -Darin Lee Analyst / Web Administrator Department

[Zope] Searching through the contents of Pdf/Word/latex

2000-10-17 Thread Praveen Katiyar
Hi all, I am a zope newbie and currently am using the Portal ToolKit and the external file to build a website. I am facing problem in searching the contents of the external file that i upload [ msword/pdf/latex/... ]. The Zcatalog search does not seem to search and index the contents of

Re: [Zope] how to include Flash/SWF objects in Zope website?

2000-10-17 Thread Dennis Nichols
At 10/16/00 02:21 PM, Fred Yankowski wrote: Thank you both for the help. File objects are just the ticket (but it turns out that Image objects work nearly as well). For the record, here's what I did: In order to provide alternate content and/or detect which level of Flash player is present,

[Zope] dtml-in

2000-10-17 Thread dsergent
Hi ! I want to execute all the dtml documents contain in a folder. I use the dtml-in tag dtml-in "Applications.objectValues('DTML Document')" dtml-var id /dtml-in But I was only able to print the name of the dtml document, how can I execute the script write in the dtml document ? thks a lot

[Zope] ZSQL question

2000-10-17 Thread George Osvald
I have a table with lots of data in my Gadfly database. I would like to add a couple of new columns to that table. Is it at all possible to add columns to existing table or do I have to create a new table all together? Regards, George ___ Zope

Re: [Zope] dtml-in

2000-10-17 Thread Chris Withers
[EMAIL PROTECTED] wrote: But I was only able to print the name of the dtml document, how can I execute the script write in the dtml document ? The following should do it: dtml-in "Applications.objectValues('DTML Document')" dtml-var sequence-item /dtml-in cheers, Chris

Re: [Zope] urgent

2000-10-17 Thread Daniel Rusch
dtml-sendmail mailhost="MailHost" To:!--#var to -- From:!--#var from -- Subject: dtml-var subject dtml-mime type=text/plain encode=7bit !--#var comments-- dtml-boundary type="application/pdf; name=jsp-syntax.pdf" disposition="attachment; filename=EquipmentOrder.pdf" encode=base64dtml-in

[Zope] Message exchange between distributed python code

2000-10-17 Thread Alexander Limi
Gents, I am currently writing some software in python that is spread over several different computers. These small programs should be able to communicate with each other and send messages that contain instructions between themselves. I am wrapping this up in Zope for the time being (therefore

RE: [Zope] (no subject)

2000-10-17 Thread Eric Walstad
Hi Rob, I'm a newbie, but I just finished doing what you are trying to do. Here's how I did it: Product name: NewsItem ZClass: CNewsItem Property Sheet: NewsProperties In the BuildNews dtml method: dtml-call "REQUEST.set('ts', ZopeTime())" dtml-call "REQUEST.set('id',

Re: [Zope] ZSQL question

2000-10-17 Thread Paul Zwarts
I have a table with lots of data in my Gadfly database. I would like to add a couple of new columns to that table. Is it at all possible to add columns to existing table or do I have to create a new table all together? Nope, ALTER TABLE TABLE_NAME ADD COLUMN_NAME FORMAT_TYPE i think should

[Zope] Stored Procedures

2000-10-17 Thread Alejandro Pancani
Hi I´m using Zope with an Informix Database conected with ZODBC Product and I need some information about how to call a STORED PROCEDURE I´m trying to call a STORED PROCEDURE that executes a simple query. I do it usinga ZSQL method, but when i try to test it, i receive the error message

[Zope] Re: Réf . : Re: [ Zope ] dtml-in

2000-10-17 Thread Chris Withers
(keep copying to the list so other people can jump in and help) [EMAIL PROTECTED] wrote: thks a lot for your answer. It works, but I've a lot of dtml documents in my folder, and it's tooo slow with the sequence-item tag (less than one seconde with dtml-var id, and more than

Re: [Zope] Stored Procedures

2000-10-17 Thread Wolfgang Strobl
Don't do that, P L E E E A S E ! HTML mail doesn't add to the content of a message in any way, other making them larger and harder to read and harder to search for most people. On 17 Oct 2000, 13:28 Alejandro Pancani wrote: This is a multi-part message in MIME format.

[Zope] bobobase_modification_time and .zexp

2000-10-17 Thread Wolfgang Strobl
import/export obviously doesn't preserve time stamps (i.e. bobobase_modification_time). This is unfortunate for any content which depends on those timestamps. How do you people out there solve this problem when it comes to moving content from different Zope installations into a single one?

[Zope] Determining permissions in a Product

2000-10-17 Thread Aaron Straup Cope
Hi, Is there a clever way of determining/debugging the required permissions and/or roles for a given Product? I know that it's pretty straightforward if the product is released as a capital-P Product, but I am less sure about looking through a .exp file. I am trying to get FlexFAQ2 set up with

[Zope] STORED PROCEDURES

2000-10-17 Thread Alejandro Pancani
Hi I´m using Zope with an Informix Database conected with ZODBC Product and I need some information about how to call a STORED PROCEDURE I´m trying to call a STORED PROCEDURE that executes a simple query. I do it using a ZSQL method, but when i try to test it, i receive the error message "empty

[Zope] Dymanic sort=dtml-a_dtml_var; in DTML?

2000-10-17 Thread Joel Burton
I'd like to create a DTML method that lists objects, sorting either by name or modified-date. I know I can do this by: dtml-if ..byname... dtml-in blah sort="title_or_id" ... /dtml-else dtml-in balh sort="bobobase_modification_time" ... /dtml-if However, this requires lots of

Re: [Zope] Searching a LocalFS through Zope

2000-10-17 Thread Jonothan Farr
Check out LocalFS v0.9.6. Now with ZCatalog support! --jfarr - Original Message - From: "neeloy_saha" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, October 17, 2000 5:12 AM Subject: [Zope] Searching a LocalFS through Zope Hi all, Well I had sent this

Re: [Zope] bobobase_modification_time and .zexp

2000-10-17 Thread Wolfgang Strobl
On 17 Oct 2000, 20:18 Marcin Kasperski wrote: Wolfgang Strobl wrote: import/export obviously doesn't preserve time stamps (i.e. bobobase_modification_time). This is unfortunate for any content which depends on those timestamps. How do you people out there solve this problem when it

RE: [Zope] Dymanic sort=dtml-a_dtml_var; in DTML?

2000-10-17 Thread Seb Bacon
I needed to do this a while back and a kind fellow sent me some patches to do just this. Unfortunately my old email is unavailable at the moment, so I've forgotten who it was. The syntax was dtml-in ... sort-python="sortby" I'll dig out the patches as send them to you. seb -Original

Re: [Zope] Microsoft Zope

2000-10-17 Thread Martijn Pieters
On Tue, Oct 17, 2000 at 09:51:09AM +0200, Wolfgang Strobl wrote: On 16 Oct 2000, 12:27 Damien Morton wrote: http://msdn.microsoft.com/library/default.asp?URL=/library/techart/Des ignKMS ols.htm Looks like MS has embraced the Zope way of doing things "You must have scripting

[Zope] Web Mail Account creation.

2000-10-17 Thread Shervan Agard
Is it possible to create a hotmail-like web email server using zope? Where users create their own account. I'd like some insight how-to's or any assistant. Thanks... Sherv... ___ Zope maillist - [EMAIL PROTECTED]

[Zope] non oreilly zope book

2000-10-17 Thread Johnson, Chris
http://www.amazon.com/exec/obidos/ASIN/186100477X/o/qid=971814451/sr=8-1/ref =aps_sr_b_1_3/104-9172912-5316749 Take a look at wrox press december publish date for a Zope book. cj ___ Zope maillist - [EMAIL PROTECTED]

[Zope] IIS and PCGI

2000-10-17 Thread Andy McKay
Im fiddling with IIS and PCGI, I've looked at (http://www.zope.org/Members/brianh/iis_howto) the docs and got the server to work correctly in that http://127.0.0.1/zope.pcgi is the same as http://127.0.0.1:8080/ However it doesnt seem to be carrying through the trailing path info (or / 's) for

Re: [Zope] non oreilly zope book

2000-10-17 Thread Andy McKay
Is the same one that got cancelled? Josh Zeidner wrote: WROX contacted me a while back saying they wanted to do a Zope book as well. Does anyone know anything about this? -josh Yeah, that project has just been pulled, I think ;-) Pulled as in cancelled? -Brad p.s. Anyone

Re: [Zope] Web Mail Account creation.

2000-10-17 Thread Andy McKay
There was something Mikep wrote called Notmail, but looking at Zope.org it seems to be gone... - Original Message - From: "Shervan Agard" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 17, 2000 1:39 PM Subject: [Zope] Web Mail Account creation. Is it possible to

Re: [Zope] non oreilly zope book

2000-10-17 Thread Rik Hoekstra
Is the same one that got cancelled? the very same Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Problems with PoPy 1.4 ZPoPyDA 0.7

2000-10-17 Thread zope
I have a working install of Zope 2.2.2. I installed the python module PoPy 1.4 and then attempted to install the ZPoPyDA 0.7 DB adapter. The ZPoPyDA README said to run a configure script but there was none. So I just moved the ZPoPyDA directory it created into the lib/python/Products directory

Re: [Zope] non oreilly zope book

2000-10-17 Thread Andy McKay
I wont rush out and get a copy then :P - Original Message - From: "Rik Hoekstra" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED]; "Johnson, Chris" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, October 17, 2000 1:51 PM Subject: Re: [Zope] non oreilly zope book Is the same

[Zope] Two questions regarding SQL

2000-10-17 Thread Rudd-O
Hey 2 everyone: I have two questions. 1) I need to authenticate my Zope users against a Sybase SQL database. 2) I need to make my Zope ODBC database connection object use (i.e. connect with) the user and password of the AUTHENTICATED_USER because security is at the database level, for

[Zope] GUF and IE friendly error messages

2000-10-17 Thread Paulo Eduardo Neves
Hi, I'm using General User Folder (GUF) in cookie mode for the login in my site. When someone doesn't have the appropriate permission to access a resource, GUF should show the Login screen. It works fine, except for some people (not all) that uses Internet Explorer 5. They see IE http user

[Zope] AW: [Zope] Web Mail Account creation.

2000-10-17 Thread Patrick Koetter
Hi Shervan, Worldpilot ist the GUI you are looking for, if you use Zope. Some friends and me use it. Not included in WorldPilot are routines to a) create a new account b) modify and c) delete an account I use a UW IMAP on RH 6.2 to let WorldPilot connect to. That would require me to modify

[Zope] Want to access ZClass Instance from external program

2000-10-17 Thread Jon Prettyman
I have a folder containing a bunch of ZClass instances that I want to access from an external (non-web) python application. I need to be able to read the values of the instance properties. Is there a way to do this with the ZClient stuff? If not, what can I use. If yes, any pointers? -jon

Re: [Zope] What Products created What Permissions

2000-10-17 Thread Michel Pelletier
Chris Withers wrote: Michael Bernstein wrote: On a slightly different note, I think that the permissions list should be viewable in two more ways: A view where permissions are grouped into 'subjects', (for example all Perhaps a better idea is that Permissions are classes that inherit

[Zope] strange dtml-sendmail problem

2000-10-17 Thread Erik Myllymaki
This is a DTML_Method I call from my standard_error_message: dtml-sendmail mailhost="MailHost" To: Webmaster dtml-var webstaff From: ZopeServer dtml-var zopeserveraddress Subject: Problem at dtml-var URL Error Type: dtml-var error_type Error Value: dtml-var error_value Error Msg: dtml-var

Re: [Zope] Problems with PoPy 1.4 ZPoPyDA 0.7

2000-10-17 Thread Kapil Thangavelu
hi dustin your probably not running the same python interpreters. check your start shell script and see which python interpreter its using and compare it to (i'm kinda of assuming your're on a *nix system) which python they probably aren't the same. just edit the start script accordingly.

Re: [Zope] Want to access ZClass Instance from external program

2000-10-17 Thread Kapil Thangavelu
Jon Prettyman wrote: I have a folder containing a bunch of ZClass instances that I want to access from an external (non-web) python application. I need to be able to read the values of the instance properties. Is there a way to do this with the ZClient stuff? If not, what can I use.

Re: [Zope] strange dtml-sendmail problem

2000-10-17 Thread Kapil Thangavelu
Erik Myllymaki wrote: This is a DTML_Method I call from my standard_error_message: dtml-sendmail mailhost="MailHost" To: Webmaster dtml-var webstaff From: ZopeServer dtml-var zopeserveraddress Subject: Problem at dtml-var URL Error Type: dtml-var error_type Error Value: dtml-var

Re: [Zope-dev] Recursive Folder creation error

2000-10-17 Thread Chris Withers
Jason Spisak wrote: Zopists, I tried the example given by Kapil Thangavelu. from OFS import Folder try replacing the above with: from OFS.FOlder import Folder cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] Recursive Folders

2000-10-17 Thread Jason Spisak
Zopsters, The line folder = Folder() was suposed to be folder = Folder.Folder() Thanks again! All my best, Jason Spisak [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross