[Zope3-Users] multiple catalogs

2007-08-19 Thread Maken Seteva
Hi!I'm slowly getting more into Zope3 and now I'm trying to implement multiple catalogs spread across several containers. My use case (simplified): I have a bunch of Network instances (containers) which contain potentially a lot of content objects. I don't like the idea of having one huge catalog

[Zope3-Users] Confirming member generated objects?

2007-09-03 Thread Maken Seteva
Hi! In many applications members can add content but with the restriction that it needs to be confirmed by a manager before it becomes active and accessible to anybody else. I'm trying to accomplish this with an idea of mine, but I'm very open to other ideas of course :) Basically, lets say

[Zope3-Users] content object belonging to several containers?

2007-09-10 Thread Maken Seteva
Hi! In learning Zope 3 I'm now trying to expand the worldcookery app. So let's say we have a recipe site like in the worldcookery book. If we now have a few recipe containers: Indian Vegetarian Kosher As it is right now, you can only post a recipe in one of them. But what if we would want

[Zope3-Users] slightly modifying a dublin core property?

2007-09-13 Thread Maken Seteva
Hi! I'm trying to use the dublincore subjects property with a slight modification. Originally it uses TextLine but i want it to use my home made Word schema field type (behaves like TextLine but with no spaces) class IWordSubjects(IDCExtended): subjects = Tuple( title =

[Zope3-Users] making anything taggable

2007-09-14 Thread Maken Seteva
Hi! Opening up a new thread since the old one is using some old ideas, but still thanks to Douglas for replying :) What I'm really trying to do is probably analogous to the buzzword tagging. In other words a component can have a list of keywords that describe it. I saw Jeff's sketchy solution

Re: [Zope3-Users] making anything taggable

2007-09-14 Thread Maken Seteva
On Sep 14, 2007, at 1:34 PM, Stephan Richter wrote: On Friday 14 September 2007 06:05, Maken Seteva wrote: Opening up a new thread since the old one is using some old ideas, but still thanks to Douglas for replying :) What I'm really trying to do is probably analogous to the buzzword tagging

[Zope3-Users] Modified IntId utility

2007-09-24 Thread Maken Seteva
Fellow Zopers. I have made a slight modification to my intid util by inheriting from IntId and overriding _generateId(). I do this to be sure that all new created objects will have an incrementing number where the first object created gets id 1, the next gets id 2 and so on.  This way I get

Re: [Zope3-Users] Modified IntId utility

2007-09-26 Thread Maken Seteva
On Sep 25, 2007, at 8:52 AM, Stefan H. Holek wrote: On 24. Sep 2007, at 18:53, Maken Seteva wrote: Fellow Zopers. I have made a slight modification to my intid util by inheriting from IntId and overriding _generateId(). I do this to be sure that all new created objects will have

Re: [Zope3-Users] Modified IntId utility

2007-09-26 Thread Maken Seteva
On Sep 26, 2007, at 12:48 PM, Benji York wrote: The best way to resolve conflicts is to not create them. If you don't create conflicts, how can you resolv conflicts (that doesn't exist) ;-) If you use the most significant bits of your int ID as a counter, and fill the least significant

Re: [Zope3-Users] Modified IntId utility

2007-09-26 Thread Maken Seteva
On Sep 26, 2007, at 12:48 PM, Benji York wrote: Maken Seteva wrote: On 24. Sep 2007, at 18:53, Maken Seteva wrote: Fellow Zopers. I have made a slight modification to my intid util by inheriting from IntId and overriding _generateId(). I do this to be sure that all new created objects

[Zope3-Users] Translating vocabularies

2007-09-29 Thread Maken Seteva
Hello, I am reading Phillips book and the internationalization chapter is very extensive but it does not talk about how to manage content like in vocabularies which gets added as time progress. Let's say i have a vocabulary with a list of kitchen tools that is initially empty. I

[Zope3-Users] Selectwidgets (Object is of wrong type)

2007-10-02 Thread Maken Seteva
Hi! I'm having serious problems with getting a selectwidget/ dropdownwidget working.. What I want to do is to add a widget for the language field of a MessageCatalog. Btw, a snippet from the interface (in zope.app.i18n.messagecatalog): class IMessageCatalog(Interface): #...

[Zope3-Users] A user area for each member

2007-10-08 Thread Maken Seteva
Hello zope3-users, I'm having some problems trying to figure out how let every member of my site have a designated area. In this area a blog folder will be created when the user is created (where the user can post blogitems). It would be nice if it can be accessed like this:

[Zope3-Users] Weird error for a certain named attribute

2007-10-18 Thread Maken Seteva
Hello, I have a very strange error that I cannot understand. I get an error for one of my attribute only when it is named a certain name! It seems like there is an old implementation of it that is haunting in the background, how is this possible? This cursed name is called tags. This

Re: [Zope3-Users] Weird error for a certain named attribute

2007-10-23 Thread Maken Seteva
the tag field default value, because AddForm will need to use this value. -Tom On 22/10/2007, at 9:14 PM, Maken Seteva wrote: On Oct 18, 2007, at 10:54 PM, Tom Dossis wrote: On 18/10/2007, at 11:58 PM, Maken Seteva wrote: Hello, I have a very strange error that I cannot understand. I get

[Zope3-Users] lovely.tag behaviour

2007-12-24 Thread Maken Seteva
Hi! I am a bit curious about the behavior of the tagcount when tagging with lovely.tag. Here is a snip from my doctest: Nothing initially sorted(e.getCloud(users=[u'barney'])) [] Update tags for barney e.update(1000, u'barney', [u'foo']) e.update(1000, u'barney', [u'foo',