Re: [Zope3-Users] Re: Zope 3.1.0 Zope3 Developer's Book

2005-06-21 Thread Alec Munro
On 6/18/05, Stephan Richter [EMAIL PROTECTED] wrote: On Saturday 18 June 2005 15:19, Corey wrote: Question: with all these new changes since 3.0 ( which all look very good! ), approximately how much of the Zope3 Dev Book becomes misleading/incorrect/obsolete? Primarily I'm wondering whether

[Zope3-Users] Recommend way to ..(question inside)

2005-07-11 Thread Alec Munro
, correct? What is the recommended way to go about this? Hopefully that is enough information, and someone can confirm my speculations. Thanks, Alec Munro ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Self-updating components?

2005-07-20 Thread Alec Munro
Hi List, I'm finally getting into the swing of Zope 3 development, and I've been doing a bit of thinking on how to integrate everything with Subversion. The general process I've settled on is as follows (this is all happening on a development server): 1.SVN Update Code locally 2.Edit Code 3.Test

[Zope3-Users] Providing schema information to Flash

2005-07-21 Thread Alec Munro
Hi List, We're building a fairly sophisticated application that uses Flash as it's primary front end. I would really like to keep the specific data logic in Flash as simple as possible. I have a good communication setup using JSON-RPC (thanks to Jim Washington!), and now I want to expand on it,

[Zope3-Users] Multi-directional adapters.

2005-07-27 Thread Alec Munro
adapter seems appropriate, because in order for things to work, both the container and the object to be contained. Is this common practice, or even possible? It seems like it would probably work, but I still have much to learn, so please advise. Thanks, Alec Munro

[Zope3-Users] Allowing an other value in choice fields sourced from vocabularies.

2005-08-04 Thread Alec Munro
initial thought is to create a new field type for SuggestedChoice, that simply doesn't perform the checking against the vocabulary values. Has anyone else run up against this? Thanks, Alec Munro ___ Zope3-users mailing list Zope3-users@zope.org http

[Zope3-Users] Everything printing as ASCII?

2005-08-09 Thread Alec Munro
Hi List, I've been having some unicode troubles, so I put a print statement in the StringIO class, and it seems that everything is type 'str', rather than unicode. Is this how it is supposed to be? Thanks, Alec ___ Zope3-users mailing list

Re: [Zope3-Users] Everything printing as ASCII?

2005-08-10 Thread Alec Munro
believe I'm getting the hang of this encoding thing, but don't quote me on that. Alec On 8/10/05, Stephan Richter [EMAIL PROTECTED] wrote: On Tuesday 09 August 2005 14:17, Alec Munro wrote: I've been having some unicode troubles, so I put a print statement in the StringIO class, and it seems

[Zope3-Users] Confusion about PAU usage.

2005-08-22 Thread Alec Munro
Hi List, I'm slowly getting my head around the way security works in general in Zope 3, but I could use a decent PAU tutorial. Specifically, I'm having some trouble with the PrincipalFolder, especially figuring out the differences between InternalPrincipal, PrincipalInfo, and Principal. Reading

Re: [Zope3-Users] Confusion about PAU usage.

2005-08-23 Thread Alec Munro
On 8/22/05, Christoph Frick [EMAIL PROTECTED] wrote: On Mon, Aug 22, 2005 at 11:47:40AM -0300, Alec Munro wrote: In my situation, I am trying to create principals with additional properties, and initially I did that by extending InternalPrincipal. That worked fine, until I realised

[Zope3-Users] Infinite recursion when storing FieldProperties in as annotations (using IAttributeAnnotations).

2005-08-24 Thread Alec Munro
to be the getter method that is causing the trouble, but I can't really be sure. I would appreciate any advise on this. Thanks, Alec Munro ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Confusion about PAU usage.

2005-08-26 Thread Alec Munro
] [mailto:[EMAIL PROTECTED] On Behalf Of Alec Munro Sent: Tuesday, August 23, 2005 10:06 AM To: [EMAIL PROTECTED] Cc: zope3-users@zope.org Subject: Re: [Zope3-Users] Confusion about PAU usage. On 8/22/05, Christoph Frick [EMAIL PROTECTED] wrote: On Mon, Aug 22, 2005 at 11:47:40AM -0300

[Zope3-Users] Security proxies when dealing with objects as dictionary keys?

2005-09-20 Thread Alec Munro
I have a situation where I would like to use objects as dictionary keys. These objects are normally security proxied, so I assume removeSecurityProxy is required? Is there any other way to do this? I have a dislike of using removeSecurityProxy where I can avoid it. Thanks, Alec Munro

[Zope3-Users] Disappearing dictionary. Upon restart, dictionary resets.

2005-09-20 Thread Alec Munro
(the keys) specific to a given location (the original content component). If there is another simple way to do this, I would appreciate hearing it. Thanks again! Alec Munro ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman

Re: [Zope3-Users] Disappearing dictionary. Upon restart, dictionary resets.

2005-09-25 Thread Alec Munro
I've tried it with PersistentDicts and PersistentMappings, and no luck. It's very odd, I think there must be some fundamental step towards the use of a mapping in Zope that I'm missing. Alec On 9/21/05, Lennart Regebro [EMAIL PROTECTED] wrote: On 9/20/05, Alec Munro [EMAIL PROTECTED] wrote: I

Re: [Zope3-Users] Disappearing dictionary. Upon restart, dictionary resets.

2005-09-25 Thread Alec Munro
the some_dictionary propery on any of my objects, it returned the newly created one. Is this what should be happening? Alec On 9/26/05, Alec Munro [EMAIL PROTECTED] wrote: I've tried it with PersistentDicts and PersistentMappings, and no luck. It's very odd, I think there must be some fundamental step towards

Re: [Zope3-Users] Disappearing dictionary. Upon restart, dictionary resets.

2005-09-26 Thread Alec Munro
going to examine all my code this morning, see if I'm sinning in this fashion anywhere else. Thanks Chris, and everyone else who replied. Alec On 9/26/05, Chris Withers [EMAIL PROTECTED] wrote: Alec Munro wrote: class SomeObj: some_dictionary = PersistentDict({}) ouch, never use

[Zope3-Users] Recommended policy for extension of the built-in skins and macros?

2005-11-12 Thread Alec Munro
are supposed to work :) ? Thanks, Alec Munro ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] My principals not being found by PrincipalRegistry

2005-11-30 Thread Alec Munro
in the PrincipalRegistry, or have I screwed up somewhere else? Thanks, Alec Munro ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Permission required for renaming?

2005-11-30 Thread Alec Munro
Hi List, My users are unable to rename things, seemingly everywhere. They can add, remove, but not rename, or cut/copy. I'm not sure how to set the permission for this. Thanks, Alec ___ Zope3-users mailing list Zope3-users@zope.org

Re: [Zope3-Users] Permission required for renaming?

2005-12-01 Thread Alec Munro
PROTECTED] wrote: Alec Munro wrote: My users are unable to rename things, seemingly everywhere. They can add, remove, but not rename, or cut/copy. I'm not sure how to set the permission for this. Do they have the necessary permissions on the objects container rather than the object itself

Re: [Zope3-Users] logout feature with zope3

2005-12-06 Thread Alec Munro
am not an expert, but I hope this is at least somewhat helpful. Alec Munro On 12/6/05, Jing Song [EMAIL PROTECTED] wrote: Hi, I have problems to implement my zope logout feature. Since the Basic HTTP Authentication does not funcition properly, I'm trying to work around by using Philipp's

Re: [Zope3-Users] Permission required for renaming?

2005-12-13 Thread Alec Munro
a couple properties or methods. Hope that helps. I can do a little more testing tomorrow if you have any leads. Thanks again, Alec On 12/13/05, Stephan Richter [EMAIL PROTECTED] wrote: On Wednesday 30 November 2005 16:16, Alec Munro wrote: My users are unable to rename things, seemingly

[Zope3-Users] Large project organization?

2005-12-15 Thread Alec Munro
another module, vs. on it's own? So far, I haven't had any problems with anything I've tried, but I do prefer to plan ahead as much as possible. Thanks, Alec Munro ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3

Re: [Zope3-Users] Permission required for renaming?

2006-01-05 Thread Alec Munro
? Is there an easy way to change that? Thanks for your response, Alec On 1/4/06, Stephan Richter [EMAIL PROTECTED] wrote: On Wednesday 14 December 2005 12:40, Alec Munro wrote: Any ideas where I can go with this? It seems like there's probably a simple step I'm missing in the creation of my

[Zope3-Users] Looking up the schema of an adapter?

2006-01-07 Thread Alec Munro
functionality, that would be great. Thanks, Alec Munro ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Specifying object attributes at runtime from a selection of schemas.

2006-01-24 Thread Alec Munro
of the widget? Any advice on either of these problems, or any suggestions on a simpler way to accomplish the overall goal, would be very appreciated. Thanks, Alec Munro ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope3-Users] Re: Please Guido, pick me, pick me!

2006-02-03 Thread Alec Munro
actually making the releases are already so busy, I have no idea who would maintain and update such a roadmap. But, on the other hand, I'm just fine with Zope's current level of advocacy. Alec Munro ___ Zope3-users mailing list Zope3-users@zope.org http

[Zope3-Users] Uploading and extracting a zip file.

2006-05-10 Thread Alec Munro
file. Thanks for any help. Alec Munro ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Re: Uploading and extracting a zip file.

2006-05-10 Thread Alec Munro
Hi again, As it turns out, the data is available as a FileUpload object, which I can use just like a file, and that works quite well. Thanks for reading, Alec On 5/10/06, Alec Munro [EMAIL PROTECTED] wrote: Hi List, This seems like it should be relatively easy to solve, but I haven't been

[Zope3-Users] Simple Sources tutorial?

2006-08-25 Thread Alec Munro
Anyone have a simple reference on the usage of sources? I'm in need of a vocabulary-like thing, and my understanding is that vocabularies have been replaced by sources, but I am unable to find any documentation on their use. There are numerous discussions on specific details of sources, but I

Re: [Zope3-Users] Re: Simple Sources tutorial?

2006-09-07 Thread Alec Munro
On 9/7/06, Philipp von Weitershausen [EMAIL PROTECTED] wrote: Fred Drake wrote: On 9/6/06, Stephan Richter [EMAIL PROTECTED] wrote: I still use vocabularies. I still don't get sources. Vocabularies have not been deprecated yet. I think sources have to become much more developer-friendly

[Zope3-Users] Intended scope of viewlets?

2006-10-05 Thread Alec Munro
Hi List, I'm just getting up to speed with viewlets, having read a thread here and there in the past about them. I've installed the examples provided on this list, and while I believe I understand how they work, I don't understand in what circumstances they are most useful. The viewlets in the

Re: [Zope3-Users] Re: Intended scope of viewlets?

2006-10-06 Thread Alec Munro
implementing viewlets in our upcoming project. Alec On 10/5/06, Jürgen Kartnaller [EMAIL PROTECTED] wrote: Hi Alec. Alec Munro wrote: Hi List, I'm just getting up to speed with viewlets, having read a thread here and there in the past about them. I've installed the examples provided on this list

Re: [Zope3-Users] Re: Intended scope of viewlets?

2006-10-06 Thread Alec Munro
things, but it's all kind of a shot in the dark right now. Thanks, Alec On 10/6/06, Alec Munro [EMAIL PROTECTED] wrote: Hi Jürgen, So, just to give a concrete example for my case, I might replace this (Metal-based): body div id=Navigation div metal:define-slot=navigation Nav tree needs

Re: [Zope3-Users] Re: Intended scope of viewlets?

2006-10-10 Thread Alec Munro
=.myskin.SimplePage permission=zope.Public layer=.interfaces.MySkin / browser:template template=myskin_master.pt for=.interfaces.ISimplePage layer=.interfaces.MySkin / Kevin Smith - Original Message From: Alec Munro [EMAIL PROTECTED] To: Jürgen Kartnaller [EMAIL PROTECTED

Re: [Zope3-Users] Re: Intended scope of viewlets?

2006-10-10 Thread Alec Munro
much appreciate it. Thanks again, Alec Munro On 10/10/06, Alec Munro [EMAIL PROTECTED] wrote: You were correct, because my skin was inheriting from z3c.layer.minimal.IMinimalBrowserLayer, which as best I can tell, doesn't inherit from the default layer (there's probably a ZCML directive to set

Re: [Zope3-Users] Re: Intended scope of viewlets?

2006-10-11 Thread Alec Munro
to properly separate concerns with them. Alec On 10/10/06, Jürgen Kartnaller [EMAIL PROTECTED] wrote: Hi Alec. Alec Munro wrote: One more thing. When using this masterpage idea, what is the pattern for creating new pages? For example, I would traditionally have: MyObject/SubjectOne.html

[Zope3-Users] Recursion using viewlets.

2006-10-11 Thread Alec Munro
Hi List, After a very thorough schooling in the use of viewlets in my other thread, I thought it might be better to start a new one for this topic. What's the recommended practice for dealing with recursion using viewlets? In my case, I have a hierarchy of objects, each implementing

[Zope3-Users] Good event policy for operating on object hierarchies?

2007-01-16 Thread Alec Munro
, or should I attach the root of the new hierarchy first, fire an event for that, and then repeat the process on it's descendants? I don't make particular use of events currently, but if there's any best practices for this type of procedure, I would rather follow those. Thanks, Alec Munro

[Zope3-Users] Zope 3 PAM or /etc/passwd authentication?

2007-01-23 Thread Alec Munro
Hi List, I'm wondering if anyone knows of a way to integrate Zope with /etc/passwd? PAM was suggested, but I don't know too much about that. I suppose I could probably write my own, but I would prefer to avoid that if possible. Anyone have any experience with this? It seems like it's probably a

[Zope3-Users] Applying permissions to users from LDAP

2007-02-09 Thread Alec Munro
themselves). Thanks, Alec Munro ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Re: Applying permissions to users from LDAP

2007-02-13 Thread Alec Munro
. This reminds me that I have to pick up the new version of your book. Alec On 2/9/07, Philipp von Weitershausen [EMAIL PROTECTED] wrote: Alec Munro wrote: I've just succeeded in getting Zope authenticating against my LDAP directory, using ldapadapter and ldappas. The directory itself is brand new

Re: [Zope3-Users] Re: Applying permissions to users from LDAP

2007-02-16 Thread Alec Munro
On 2/13/07, Stephan Richter [EMAIL PROTECTED] wrote: On Tuesday 13 February 2007 04:51, David Johnson wrote: I'm trying to understand this situation also since we face it frequently. The PAU has a Group Folder which works well in this regard. Would the idea of extending Groups in the PAU to