SV: [Zope-dev] Web Services for Zope

2001-09-28 Thread Magnus Heino (Rivermen)
Well... the status is that I'm trying to work on it on an as-possible basis :) The problem is that it hasn't been very possible for the last few weeks. If you just need to generate WSDL and you're willing to live on the bleeding edge and use some code that might still change a lot in

SV: [Zope-dev] ZPT equivalent for DTMLFile?

2001-09-13 Thread Magnus Heino (Rivermen)
I'd like to use ZPT for product add pages and the like, where I'd usually use DTMLFile. How do I do that? PageTemplates itself does this. Take a look at the initialize method in PageTemplates/ZopePageTemplate.py /Magnus ___ Zope-Dev

[Zope-dev] url quote from pyton scripts

2001-06-26 Thread Magnus Heino (Rivermen)
Hi. How can I do a url quote from a python script? Can I somehow access the method in urllib or DT_Var or how can it be done? -- /Magnus Heino ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No

SV: [Zope-dev] 60GB Data.fs?

2001-06-06 Thread Magnus Heino (Rivermen)
Also how are the disks layed out? Is it possible to have, say, 5 disks each on their own (no RAID) and then split the data.fs over them using PartitionedFileStorage or similar. Where can I get PartitionedFileStorage? /Magnus ___ Zope-Dev maillist

SV: Subject: [Zope-dev] change ownership

2001-05-10 Thread Magnus Heino (Rivermen)
I can get it to work :-/ I get an attributeerror on aq_inner in lib/python/AccessControl/Owned.py, line 302, in ownerInfo Seems as if the user i provide isn't of the right type? How do you use your method? How is it being called? /Magnus Magnus, No, changeOwnership is not exposed for TTW

SV: Subject: [Zope-dev] change ownership

2001-05-10 Thread Magnus Heino (Rivermen)
def set_owner(self, user_name): self.changeOwnership(self.acl_users.getUser(user_name)) OK, so that should keep you busy for a while. Anyway, the Not long enough :-P point is that the parameter to changeOwnership is a User _object_. Good luck. Ive got this external method in a

SV: Subject: [Zope-dev] change ownership

2001-05-10 Thread Magnus Heino (Rivermen)
The one that comes with Zope. /Magnus -Ursprungligt meddelande- Från: Tim McLaughlin [mailto:[EMAIL PROTECTED]] Skickat: den 10 maj 2001 15:26 Till: 'Magnus Heino (Rivermen)'; Tim McLaughlin Kopia: '[EMAIL PROTECTED]' Ämne: RE: Subject: [Zope-dev] change ownership What kind

[Zope-dev] change ownership

2001-05-09 Thread Magnus Heino (Rivermen)
Is it not possible to change ownership of an object? I can only find methods to take ownership... /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

[Zope-dev] manage_tabs

2001-05-04 Thread Magnus Heino (Rivermen)
Hi. In my Zope product, I've got this; manage_options = SimpleItem.manage_options+( {'label':'Edit', 'action':'manage_main'}, ) If I view the management sceen of this product, I get four tabs (Undo, Ownership, Security and Edit). But If I click on Edit, all tabs but the edit tab

SV: [Zope-dev] manage_tabs

2001-05-04 Thread Magnus Heino (Rivermen)
al Message- From: Magnus Heino (Rivermen) [mailto:[EMAIL PROTECTED]] Sent: Friday, 04 May 2001 13:09 To: '[EMAIL PROTECTED]' Subject: [Zope-dev] manage_tabs Hi. In my Zope product, I've got this; manage_options = SimpleItem.manage_options+( {'label':'Edit', 'action':'m

[Zope-dev] Threads...

2001-05-04 Thread Magnus Heino (Rivermen)
Hi. I want to start a thread from my product. I'm doing it in the same way as the code below. Label is set to 'a' as default. If I change this to 'b' and save, Label is changed to contain 'b'. But, it seems as if Label is loaded with the saved value at some later point than the last row

[Zope-dev] CoreSessionTracking

2001-04-23 Thread Magnus Heino (Rivermen)
Is onStart and onEnd broken in the CoreSessionTracking (0.8) product? (Or am I broken? :-)) I have a folder /Radio Within that folder I have a Session ID Manager and a Session Data Manager named Session. Session onStart method path of the Session ID Manager is set to /Radio/onStart I have an

SV: [Zope-dev] CoreSessionTracking

2001-04-23 Thread Magnus Heino (Rivermen)
The onStart method will be called when a session data object is created. Neither of the calls you show here create a session data object. Something like Session.getSessionData() would, however. Ah. I read when a session starts, you may call an external method or PythonScrip and thought

SV: [Zope-dev] CoreSessionTracking

2001-04-23 Thread Magnus Heino (Rivermen)
This onStart method... sdo['date'] = context.ZopeTime() ...gives this error: -- 2001-04-23T14:36:32 PROBLEM(100) Session Tracking session event failed The call to function onStart failed. Traceback: Traceback (innermost last): File

SV: [Zope-dev] CoreSessionTracking

2001-04-23 Thread Magnus Heino (Rivermen)
In the meantime, use the .set method of the session data object, e.g. in the onStart function: sdo.set('Username', 'Foobar') .. or use an external method. Ok, works now. Thanks. How to I access things like the DTML AUTHENTICATED_USER.getUserName() from a python script? /Magnus

[Zope-dev] Product Tutorial

2001-03-18 Thread Magnus Heino (Rivermen)
Hi. Is http://www.zope.org/Members/hathawsh/PythonProductTutorial/index_html?pp=1 still valid, or have things changed since it was written? /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No

RE: [Zope-dev] ANNOUNCE: PartitionedFileStorage

2001-01-02 Thread Magnus Heino (Rivermen)
But like I told ChrisW, I think BerkeleyStorage will fill the need that PartitionedFileStorage was only partitially addressing. How is the new BerkeleyStorage product coming along? /Magnus ### This message has been scanned by F-Secure Anti-Virus for

[Zope-dev] Loginmanager and LDAP

2000-11-27 Thread Magnus Heino (Rivermen)
Hi. I'd like to authenticate users using LDAP and Active Directory. Zope is running on a RH7.0 box. Has anyone done this, is it possible? /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No

[Zope-dev] ZODB, Threads and Persistence

2000-11-10 Thread Magnus Heino (Rivermen)
Hi. Reading from Jims 'Introduction to the Zope Database': "An object's state may be freed at any time by the ZODB to conserve memory usage." What does this mean? That the object can be freed even though there are references to it? The reason I'm asking is becase I want to use threads and

[Zope-dev] soap and zope

2000-09-18 Thread Magnus Heino (Rivermen)
Has anyone done anything with soap and zope? /Magnus Heino ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -