[Zope3-Users] Re: ZCML, practicality, purity (was Excellent perspective...)

2005-12-22 Thread Martin Aspeli
So it's very refreshing to see Zope 3 without ZCML. I hope the trend continues. I think Philipp makes what in my limited understanding is a very good point here: http://www.z3lab.org/sections/blogs/philipp-weitershausen/2005_12_14_zcml-needs-to-do-less Martin -- (muted)

[Zope3-Users] Re: Zope 3 Ready for Production? Really?

2006-01-15 Thread Martin Aspeli
On Sun, 15 Jan 2006 01:51:50 -, Jeff Shell [EMAIL PROTECTED] wrote: I like Trac, or even the Plone (I assume) based tools Schoolbell is using to publish information. This is the 3.2 milestone. Here are the proposals and issues that are tied to that milestone You can do this with Wikis,

[Zope3-Users] Re: Re: Is Zope Zope2 or Zope3?

2006-01-21 Thread Martin Aspeli
On Sat, 21 Jan 2006 14:11:12 -, David Johnson [EMAIL PROTECTED] wrote: This is unfortunate. I do think Zope 3 will get the recognition it deserves in time. I feel the Zope community is more focused on how it works than how it is marketed and this seems like the best long term

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

2006-02-02 Thread Martin Aspeli
On Thu, 02 Feb 2006 18:00:04 -, Stephan Richter [EMAIL PROTECTED] wrote: Hi Joel, I hope your app is season-ready. :-) On Thursday 02 February 2006 11:50, Joel Moxley wrote: Does this make sense?  It's only a small rebrand (and the Zope3 stays intact) and an assembly of components that

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

2006-02-02 Thread Martin Aspeli
On Thu, 02 Feb 2006 16:50:30 -, Joel Moxley [EMAIL PROTECTED] wrote: I've followed the Guido blogs/discussion loosely. As a relative newcomer, this is my first real experience with the Python community's confusion of Zope2 and Zope3. I've seen on the list that people have been

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

2006-02-02 Thread Martin Aspeli
On Thu, 02 Feb 2006 20:42:25 -, Stephan Richter [EMAIL PROTECTED] wrote: On Thursday 02 February 2006 15:01, Martin Aspeli wrote: Philipp W and others have commented on Zope 3's utter lack of marketing   (anyone been to zope.org lately?) and how it is probably hurting its   adoption

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

2006-02-02 Thread Martin Aspeli
On Thu, 02 Feb 2006 21:05:32 -, Stephan Richter [EMAIL PROTECTED] wrote: No-one who doesn't   already read this list has heard of Zope 3 (as in, they understand what   it's all about, and they understand the distinction between Zope 2 and   Zope 3) and very few have heard of Zope in

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

2006-02-02 Thread Martin Aspeli
On Thu, 02 Feb 2006 21:12:27 -, Stephan Richter [EMAIL PROTECTED] wrote: Having said that, I feel very strongly that built Zope version 3 and nothing more or less. And I feel that a name change would betray me and my intentions. Well, Joel didn't suggest a name change, he suggested

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

2006-02-03 Thread Martin Aspeli
Lennart Regebro [EMAIL PROTECTED] writes: On 2/2/06, Stephan Richter [EMAIL PROTECTED] wrote: My sense from the sprint is that developers here use Zope 3 on its technical merits and not its marketing ones. Which is why we should market those strengths better. On the name change idea,

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

2006-02-03 Thread Martin Aspeli
Lennart Regebro [EMAIL PROTECTED] writes: On 2/3/06, Alen Stanisic [EMAIL PROTECTED] wrote: I think the idea was Zope 3.2 Zingo, Zope 3.4 Bingo, not Zope Zingo :) Well, all we do then is making funny release code names. That's not clarifying the difference between Zope 2 and Zope 3 at

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

2006-02-03 Thread Martin Aspeli
Max M [EMAIL PROTECTED] writes: Not calling it Zope would be a mistake, but how about adding a qualifier to the name. Like microsoft did with Windows NT I think that's what the suggestion is all about. eg. Zope DR aka Zope Done Right Heh, I like that. :) I think DR is a little too

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

2006-02-03 Thread Martin Aspeli
Lennart Regebro [EMAIL PROTECTED] writes: But having a name that signifies that there is something a little more than a new major-version release going on here would go a long way in giving people something to fix their minds on. Not if that name changes with every release, becuase

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

2006-02-03 Thread Martin Aspeli
Reinoud van Leeuwen reinoud.v at n.leeuwen.net writes: On Fri, Feb 03, 2006 at 01:07:57PM +, Martin Aspeli wrote: Max M maxm at ... writes: Not calling it Zope would be a mistake, but how about adding a qualifier to the name. Like microsoft did with Windows NT I think

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

2006-02-04 Thread Martin Aspeli
On Fri, 03 Feb 2006 14:40:56 -, Graham Stratton [EMAIL PROTECTED] wrote: I agree with those who have said that Zope3 should have its own website. If our aim is to make it clear to people that this is something new, then that site needs a completely different design to the existing Zope

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

2006-02-06 Thread Martin Aspeli
On Mon, 06 Feb 2006 06:15:45 -, Brad Allen [EMAIL PROTECTED] wrote: By new website, do you mean a Zope 3 advocacy site, or a general documentation site? Making a separate site for advocacy seems like a no-brainer (ala Pythonology.org), but the documentation site is another matter. Have

[Zope3-Users] Re: The Zope Software Certification Program and Common Repository Proposal

2006-02-20 Thread Martin Aspeli
On Mon, 20 Feb 2006 21:28:09 -, Stephan Richter [EMAIL PROTECTED] wrote: I have spent the last two weeks working on a proposal that defines a Zope Software Certification Program (ZSCP) and a Common Repository that implements this process. The proposal is attached to this mail. I welcome

[Zope3-Users] Re: Visionaire! (All your problems, solved)

2006-03-02 Thread Martin Aspeli
On Thu, 02 Mar 2006 00:42:14 -, Jeff Shell [EMAIL PROTECTED] wrote: Personally, I still find it hard to know where the line goes between the ZMI and my own UI code, if I should be extending the ZMI or replacing it. Perhaps because I'm tainted by Zope 2's idea of the ZMI, though.

[Zope3-Users] Re: Visionaire! (All your problems, solved)

2006-03-02 Thread Martin Aspeli
On Thu, 02 Mar 2006 11:41:37 -, Peter Bengtsson [EMAIL PROTECTED] wrote: It's been a while but the last time I installed Plone it came with stuff like CookieCrumbler and Formulator. Heh, it no longer does :-) What a bliss and time-saver! It's not unix-right but I don't care, I have

[Zope3-Users] Re: [Zope3-dev] Visionaire! (All your problems, solved)

2006-03-02 Thread Martin Aspeli
On Thu, 02 Mar 2006 11:49:31 -, Lennart Regebro [EMAIL PROTECTED] wrote: This should be Zope3 as it is now. A couple of things can go away. Maybe the rotterdam skin, I don't know. Definitely the default Folder objects and such. People, especially Zope2 people, think that you are supposed

[Zope3-Users] Re: closing external 8080 access when using apache proxy/rewrite

2006-03-05 Thread Martin Aspeli
On Sun, 05 Mar 2006 16:39:43 -, Joel Moxley [EMAIL PROTECTED] wrote: I'm running a site at 8080 accessed through apache using the normal proxy/rewrite methods detailed in philikon and srichter's books. I'm thinking about using apache authentication, so obviously I'd need to shut off any

[Zope3-Users] Re: Announce: z3site - theme engine for Zope3-sites

2006-03-17 Thread Martin Aspeli
On Fri, 17 Mar 2006 20:37:04 -, Garanin Michael [EMAIL PROTECTED] wrote: Hello! I publish simple theme-engine for Zope3-sites. I use it for customize GUI(and ZMI) of Zope3-sites through browser. It's dynamics skin and local utitlity for theme storage. Sounds interesting... url:

[Zope3-Users] Re: zalchemy alpha svn repository

2006-04-06 Thread Martin Aspeli
On Thu, 06 Apr 2006 18:48:12 +0100, jürgen Kartnaller [EMAIL PROTECTED] wrote: Let's first see if it works as expected. I really have no idea if it is usefull for full blown applications. I only tested my use cases, we'll see what happens if someone else uses it. Since the repository is

[Zope3-Users] zope.viewlet and zope.contentprovider - options for Zope 2 and Plone 3

2006-04-09 Thread Martin Aspeli
Hi guys (sorry for the crosspost, this is rather a cross-area post), I'm reading the docs for zope.contentprovider and zope.viewlet, and there are many reasons why we'd like to use this in Plone. The way the release cycles work, Plone 3.0 would be the natural place to put some of this.

[Zope3-Users] Re: Use Case for a Tree of Adapter Registries?

2006-04-14 Thread Martin Aspeli
On Fri, 14 Apr 2006 11:07:42 +0100, Jeff Rush [EMAIL PROTECTED] wrote: I've read the code for adapter registries, how there is a global one and any number of local ones, arranged in a tree and that each can be disabled. But I can't figure out when you'd want to make use of such an

[Zope3-Users] Re: A Few Questions re Namespaces

2006-04-14 Thread Martin Aspeli
2. I finally found the + view in container/browser, but all uses of it are as /@@+/newitem.html. I could have sworn I saw the + used w/o the @@ prefix someplace but can't find it again. Did I indeed imagine ever seeing /+/newitem.html? No, I've seen this too. As far as I

[Zope3-Users] Re: Re: Blobs in Z3 anyone?

2006-04-20 Thread Martin Aspeli
On Thu, 20 Apr 2006 04:35:47 +0100, Chris McDonough [EMAIL PROTECTED] wrote: The zodb code is on the blob-merge-branch of ZODB in Zope's subversion repository. I'm not sure when it's going to land in an actual ZODB release. I'm fighting a bunch of fires at the moment and it's on the

[Zope3-Users] Checking if an interface is provided by an object or could be adapted to

2006-04-30 Thread Martin Aspeli
Hi, I'm probably doing something very wrong, but ... I have a general interface that can either by directly provided by an object or class (typically with implements() on the class), but could also be provided via an adapter. I have a few places where I just need to check for this (it's

[Zope3-Users] Re: Re: Checking if an interface is provided by an object or could be adapted to

2006-04-30 Thread Martin Aspeli
On Mon, 01 May 2006 00:55:46 +0100, Stephan Richter [EMAIL PROTECTED] wrote: On Sunday 30 April 2006 19:34, Bernd Dorn wrote: component.queryMultiAdapter((bar,baz), IFoo) is not None or False Why not just: component.queryMultiAdapter((bar,baz), IFoo, default=False) Well, it seems that

[Zope3-Users] Re: state of pure Zope 3 CMSs?

2006-08-06 Thread Martin Aspeli
Hi, I wonder what is that state of pure Zope 3 CMSs? - Cubic and z3ecm come to mind, see below. Me too! :) I am aware that sytems like *Plone* offer everything you can imagine for serious CMS development. But being based on Zope 2 (and just slowly moving towards Zope 3 by means of Five)

[Zope3-Users] Re: Why Zope3

2006-08-28 Thread Martin Aspeli
Philipp von Weitershausen wrote: Behrang Dadsetan wrote: Hi Philipp, Your reply made me discover the fact that http://svn.zope.org contains so many third-party packages. Is there any page that gives a minimal description to each of these packages? Like an overview maybe even in the same

[Zope3-Users] Re: crud/read example?

2006-09-02 Thread Martin Aspeli
Robert Hicks wrote: I was just wondering... ... how to phrase your question and you couldn't decide? Try to be a bit more specific, you'll get more answers that way. Martin ___ Zope3-users mailing list Zope3-users@zope.org

Re: [Zope3-Users] How to make a new namespace for pagetemplates?

2006-09-08 Thread Martin Aspeli
FB-5 wrote: my employer want to have all external links marked with a small icon telling anonymous users from the internet that everything behind given links is beyond our responsibility. Why not use a piece of javascript to do this? See the linkpopper product on plone.org for a way

[Zope3-Users] nextUrl(), passing state in formlib

2006-09-10 Thread Martin Aspeli
Hi, I have an add form (and later, an edit form) that may be invoked from a particular view among a few choices. That is, the user can be at @@foo or @@bar, click add X or edit Y. When the form is successfully submitted (i.e. validated) I want to send the user back to @@foo or @@bar

[Zope3-Users] Re: nextUrl(), passing state in formlib

2006-09-10 Thread Martin Aspeli
Jürgen Kartnaller wrote: I did it this way : The Edit Form implementation : class AddClub(zope.formlib.form.AddForm): base_template =zope.formlib.form.AddForm.template template = ViewPageTemplateFile('club_add.pt') ... def referer(self): return

[Zope3-Users] Re: Using ZCML for defining global constants ?

2006-09-11 Thread Martin Aspeli
Andrew Groom wrote: Hi there, I've got a few global constants that I'd like to be available to my application and a .zcml file seems to be a sensible place. I'm thinking of something like a .zcml file with, e.g.: applicationSettings setting name=name1 value=value1/ setting

Re: [Zope3-Users] Functional Tests

2006-09-11 Thread Martin Aspeli
Fabio Rizzo wrote: Does anybody knows where i find any tutorial for zope.testbrowsers? See the last two pages of http://plone.org/documentation/tutorial/testing. This is somewhat Plone/Five/Zope2 specific, but almost all of it should be relevant to pure Zope 3 as well. Martin -- View

[Zope3-Users] Re: Multiple actions per button in formlib forms?

2006-09-14 Thread Martin Aspeli
Stefan Fink wrote: Error object: 'Action' object is not callable I wonder if this has to do with the @form.action... decorator on handle_edit_acion? Try to take it off and/or replicate the code of the edit action itself. Martin ___ Zope3-users

[Zope3-Users] Re: Writing tests for views

2006-09-23 Thread Martin Aspeli
Philipp von Weitershausen wrote: Consider buying my book: http://worldcookery.com t'is great and will be greater still ;-) Also consider reading the docs that are there. Zope 3 has lots of docs (see http://localhost:8080/++apidoc++ after enabling devmode). There are also a couple of

[Zope3-Users] Re: So you've just downloaded Zope 3.3....

2006-09-28 Thread Martin Aspeli
Philipp von Weitershausen wrote: What happened to Tools? `zope.app.component.browser.tools`? I'm not even sure what tools were, We weren't either ;) so we got rid of them. From the PSU Time Machine Black Box: Philipp - Hey guys, what's this browser tool stuff? Martijn - I don't know,

[Zope3-Users] zc.buildout with Zope 2

2007-01-11 Thread Martin Aspeli
Hi guys, This may not be the right place for this question, but I'm wondering if anyone has experience or examples using zc.buildout with Zope 2. It seems a useful solution and one that will increase in importance, though so far I've not yet fully grasped what it does or how I use it in my

Re: [Zope3-Users] zc.buildout with Zope 2

2007-01-12 Thread Martin Aspeli
Jim Fulton wrote: This may not be the right place for this question, but I'm wondering if anyone has experience or examples using zc.buildout with Zope 2. I don't. I'm using the immediate predecessor of zc.buildout for zope Zope 2 projects though. Is this internal only? It

[Zope3-Users] Re: prettier edit widgets..

2007-01-14 Thread Martin Aspeli
Roy Mathew wrote: Hi Folks, I need prettier edit widgets than the stock Rotterdam/Basic skin versions. Is there a collection of such widgets that maybe use dojo/mochikit/scriptaculous. Or is it reasonable to simple re-style (w/css) the stock widgets, or programmatically (in editform) manipulate

[Zope3-Users] Re: Checkout

2007-01-20 Thread Martin Aspeli
Philipp von Weitershausen wrote: You don't need to create objects just for the sake of displaying a form. Ah, the beautiful world of Zope 3 (the CMF and Archetypes people are sorry for poisoning your minds) Martin ___ Zope3-users mailing list

[Zope3-Users] Re: interview for my diploma thesis about Zope 3 in education

2007-01-23 Thread Martin Aspeli
Benji York wrote: David Johnson wrote: Zope was developed (as I understand and may be incorrect) by a professor in Computer Science in order to explain web development and instruction on application development. You are indeed incorrect. Correction left as an exercise for the reader. :)

[Zope3-Users] zc.buildout and unreleased eggs in svn

2007-01-27 Thread Martin Aspeli
Hi, easy_install lets me specify an egg from svn, e.g.: $ easy_install http://svn.plone.org/svn/collective/ZopeSkel/trunk#egg=ZopeSkel-dev I have a zc.buildout recipie that specifies a number of eggs that should always be fetched from svn. These are not (yet) in the cheeseshop. Is there

[Zope3-Users] Re: zc.buildout and unreleased eggs in svn

2007-01-28 Thread Martin Aspeli
Jim Fulton wrote: Where is it under documented? :) http://thread.gmane.org/gmane.comp.python.distutils.devel/4076 has some pointers. We could move this discussion to that list (didn't realise it had anything to do with zc.buildout, but then saw the thread where you asked if it was the

Re: [Zope3-Users] zc.buildout and unreleased eggs in svn

2007-01-29 Thread Martin Aspeli
Philipp von Weitershausen wrote: Does this example actually work? No, it doesn't. The format is #egg=EGG-VERSION. We use it currently on the CheeseShop page for grok and grokproject. You can easy_install these two even though there's no release. Setuptools will simply get them from

[Zope3-Users] Re: Simple buildout tutorial

2007-01-29 Thread Martin Aspeli
Alec Munro wrote: Hi list, I haven't really been keeping up with eggs or buildout, and I find myself needing to install an egg in my Zope instance. Does buildout facilitate this? If so, can someone point me at a tutorial/howto? I think a more in-depth tutorial is still missing (I may write

[Zope3-Users] zope.app.cache

2007-02-01 Thread Martin Aspeli
Hi guys, I'm trying to determine if zope.app.cache is potentially useable in a Five/Zope 2.10 environment, and if so how it actually works and what I need to do to use it. Unfortunately, there are no doctests or other documentation in this package that I can see. The interfaces and code give

[Zope3-Users] formlib vs. cancel button

2007-02-14 Thread Martin Aspeli
Hi, I really thought I knew how to do this, but now I can't get it to work and I'm really confused. I have a formlib EditForm, with an action like this: @form.action(Cancel, validator=lambda *args, **kwargs: True) def handle_cancel_action(self, action, data): nextURL =

[Zope3-Users] Re: formlib vs. cancel button

2007-02-15 Thread Martin Aspeli
Dennis Schulz wrote: I dont know if it is the proper way, but when I return an empty string there is no validation error. This was also one of the strangest things I found out with formlib. I found that returning {} also works. But this is clearly a design weakness if there is no other

[Zope3-Users] Re: formlib vs. cancel button

2007-02-15 Thread Martin Aspeli
Marius Gedminas wrote: On Thu, Feb 15, 2007 at 09:55:19AM +, Martin Aspeli wrote: Dennis Schulz wrote: I dont know if it is the proper way, but when I return an empty string there is no validation error. This was also one of the strangest things I found out with formlib. I found

[Zope3-Users] Re: formlib vs. cancel button

2007-02-15 Thread Martin Aspeli
Philipp von Weitershausen wrote: Martin Aspeli wrote: Marius Gedminas wrote: On Thu, Feb 15, 2007 at 09:55:19AM +, Martin Aspeli wrote: Dennis Schulz wrote: I dont know if it is the proper way, but when I return an empty string there is no validation error. This was also one

[Zope3-Users] Re: formlib vs. cancel button

2007-02-15 Thread Martin Aspeli
Marius Gedminas wrote: I'd be happy to implement and commit something Yay! but I'd be happier if someone else designed the API. When I try to design APIs myself, I tend to change my mind too often. Now I want @form.action(Cancel, validator=None) to mean do no validation. But

[Zope3-Users] Re: formlib vs. cancel button

2007-02-15 Thread Martin Aspeli
Maciej Wisniowski wrote: @form.action(Cancel, validator=None) -1 from me Currently above code is same as: @form.action(Cancel) So I think this is a very common pattern that means: do standard validation, do not use additional action validator. Yes. I think you misunderstand my

Re: [Zope3-Users] Question about IOrderedContainer interface

2007-02-26 Thread Martin Aspeli
Thierry FLORAC wrote: Hi, I have a little question about the IOrderedContainer interface. Actually, this interface is derived from IContainer, and only contains a single method, updateOrder() which is an updating method. That's pretty silly, it should probably be

Re: [Zope3-Users] Zope3 with RDBMS (avoiding ZODB)?

2007-02-28 Thread Martin Aspeli
I am not an expert and I've never developed a big pure Zope 3 application, but I have consumed a lot of Zope 3 ilbraries and concepts, from Plone on Zope 2, and mostly that's been a pleasant experience. Zope 3 is incredibly advanced and powerful. The concepts take some time to get used to if you

[Zope3-Users] Re: general zope question

2007-03-08 Thread Martin Aspeli
tyson wrote: I would like to build an application with Zope3 that does not use the ZODB at all. I want to pull my data from my own database, display it to the user and allow them to change and edit the values with forms. Is Zope the right solution for this situation? I know everyone says

[Zope3-Users] Re: Port Zope3 product to Zope2/Plone

2007-03-24 Thread Martin Aspeli
Hermann Himmelbauer wrote: Hi, I'd like to develop a little Zope3 package which I also want to use with a recent Zope2/Plone release. Is this possible? If yes, what do I have to do to be compatible? It depends on what the package does. Something that we do from time to time in Plone is to

Re: [Zope3-Users] RFC 4122 UUIDs

2007-04-04 Thread Martin Aspeli
Stephan Richter-2 wrote: On Wednesday 04 April 2007 13:06, Derek Richardson wrote: I am hoping that Zope 3 assigns an RFC 4122 UUID to each content item. If not, I am hoping there is a third-party product to do this. No there is neither. We have an intid utility that guarantees

Re: [Zope3-Users] RFC 4122 UUIDs

2007-04-04 Thread Martin Aspeli
Derek Richardson-2 wrote: Martin Aspeli wrote: Stephan Richter-2 wrote: On Wednesday 04 April 2007 13:06, Derek Richardson wrote: I am hoping that Zope 3 assigns an RFC 4122 UUID to each content item. If not, I am hoping there is a third-party product to do this. No there is neither

[Zope3-Users] Re: RFC 4122 UUIDs

2007-04-04 Thread Martin Aspeli
Stephan Richter wrote: On Wednesday 04 April 2007 14:34, Derek Richardson wrote: I believe that that will not guarantee a *universally* unique id, but only an id unique within that ZODB. Am I wrong? Well, intid guarantees to be unique for this Zope instance, even accross multiple databases

[Zope3-Users] Re: RFC 4122 UUIDs

2007-04-08 Thread Martin Aspeli
Fred Drake wrote: On 4/6/07, Philipp von Weitershausen [EMAIL PROTECTED] wrote: How is there a ZCML pain? Simply register the adapter for all IAnnotatable objects. Typically your content objects are annotatable anyway because you want DublinCore stuff etc. This sounds like this will result in

Re: [Zope3-Users] Interfaces in Schemas

2007-04-18 Thread Martin Aspeli
Hermann Himmelbauer wrote: Hi, I wonder if it's possible to define attributes in a schema that reference other interfaces. For instance, I have a schema for a car and another one for a wheel and what I want to do is something like that: class IWheel(Interface): type =

[Zope3-Users] Re: Zope 3.4.0a1 released

2007-04-19 Thread Martin Aspeli
Robert Hicks wrote: Is this series targeting Python 2.5? No. Martin ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Re: zope.intid and UUIDs

2007-04-19 Thread Martin Aspeli
Derek Richardson wrote: Philipp von Weitershausen wrote: Martin and Gary pointed out other good reasons why not to go with subclassing: the standard intid utility doesn't work in all environments. Apparently in Zope 2 you'll need a slightly differnet implementation. If you just defer to it

Re: [Zope3-Users] Utility Local to an Annotation?

2007-04-27 Thread Martin Aspeli
Derek Richardson-2 wrote: Benji York wrote: Derek Richardson wrote: The specific case is uuids for atom feed entries. We have annotations representing feeds and I would like my uuid utility to be local to the feed annotation, thus recording and making available uuids only for entries

Re: [Zope3-Users] Utility Local to an Annotation?

2007-04-27 Thread Martin Aspeli
Derek Richardson-2 wrote: Yes, it does feel like I'm going about this the wrong way. a - The feed is actually just configuration metadata - whether the feed is enabled, whether it is recursive, what its display name is, etc. The actual feed document is not stored - it is simply

[Zope3-Users] Field validation errors in formlib action handlers

2007-04-29 Thread Martin Aspeli
Hi, I still find the formlib validation machinery a bit confusing, I'm afraid... I have a form which saves values in a relational database. Because of concurrent requests, it's possible that a key constraint in the database may be violated on save. I can't know this until the actual action

[Zope3-Users] Re: Still stuck without views.

2007-05-07 Thread Martin Aspeli
Robert Norman wrote: Hi again, I'm trying to learn Zope through the Web Component Development book and find myself stuck implementing simple views. This was posted earlier but and I've worked on it since but feel totally unable to proceed. I'm working on WinXP. I can manipulate simple

[Zope3-Users] Re: Blog naming proposals

2007-05-28 Thread Martin Aspeli
Benji York wrote: Florian Lindner wrote: What ideas have you for Zope3 blog package, what would you choose? I would choose anything as long as it doesn't have a Z in it. But that's just me. +1 - using a z for an s is excessively lame, imho. :) Martin -- Acquisition is a jealous

[Zope3-Users] Re: Blog naming proposals

2007-06-01 Thread Martin Aspeli
Florian Lindner wrote: Thanks for all suggestions and ideas. I have not decided yet but at the moment I tend to name it Noize. Most blogs are producing more smoke than heat thus more noize than signal. And a Z is also in it. FWIW, I think it'd sound a lot less like a tool for l33t teenagers

[Zope3-Users] RE: Blog naming proposal

2007-06-04 Thread Martin Aspeli
Mark, Jonathan (Integic) wrote: A better name is Noiszzz Noize starts with a capital N, then a vowel, then a Z then another vowel. It is too close to the word Nazi for some English speakers. I am not saying that people who like the name Noize also like Nazis. I am just saying that

[Zope3-Users] Re: ObjectModifiedEvent but not ContainerModifiedEvent

2007-08-17 Thread Martin Aspeli
Chris Withers wrote: Hey All, How do I subscribe a susbcriber to ObjectModifiedEvent but not ContainerModifiedEvent? I have a subscriber that is currently subscribed to IObjectModifiedEvent, but as a result it's getting called when objects are added and removed whereas I only want it when

[Zope3-Users] Re: Kupu and Zope3

2007-08-20 Thread Martin Aspeli
Jeff Shell wrote: On Aug 20, 2007, at 3:45 AM, Jeremy Cook [EMAIL PROTECTED] wrote: Is anyone using Kupu (or any other visual editor) with zope3? I saw hints that it might be ported to zope3 or conversely that kupu must die. When I tried installing it under zope3 I didn't get awfully far.

[Zope3-Users] Re: Getting current user and current user's group in a buildout script

2007-10-01 Thread Martin Aspeli
Derek Richardson wrote: So, is there an easy way to do it? I know I can write a recipe, but a recipe seems heavyweight for this. It seems to me that access to these two values should be built into buildout as implicit variables. Is this contrary to the lightweight, pluggable design philosophy?

[Zope3-Users] Re: Eggs and classic instance homes, again... (was Re: Eggs, workingenv.py, and 'classic' instance homes)

2007-11-09 Thread Martin Aspeli
Hermann Himmelbauer wrote: Am Freitag, 9. November 2007 01:31 schrieb Jeff Shell: Oops. Forgot to send this to the list as well as Stephan. Goddamn Gmail. On Nov 8, 2007 8:28 AM, Stephan Richter [EMAIL PROTECTED] wrote: Hi Jeff, - zope.component 3.4.0 (or anything built into the zope

[Zope3-Users] Re: buildout and egg depedencies

2007-12-12 Thread Martin Aspeli
Hi Jeff, How did it come to be that the Python tools are so bad at this? To be fair, it's a hard problem. In Java land, you have similar problems with JARs in that they frequently have the same filename but different versions and there's no nice way that I know of to manage conflicts. Most

[Zope3-Users] Re: buildout and egg depedencies

2007-12-13 Thread Martin Aspeli
Hi Jeff, In general, once you understand that recipes are just eggs, loaded with an entry point, and that options are passed around in dicts-of-dicts, I find buildout pretty easy to get to grips with. I understand that they're eggs with entry points. But that doesn't help me figure out all of

[Zope3-Users] Re: Buildout and defining build order

2007-12-20 Thread Martin Aspeli
Darryl Cousins wrote: Hi Jim, Thank you for the reply. On Thu, 2007-12-20 at 18:23 -0500, Jim Fulton wrote: On Dec 20, 2007, at 6:07 PM, Darryl Cousins wrote: Hi, Is it possible to define in which order the parts are built. Yes, they are built in the order listed. You must mean the

[Zope3-Users] Re: [Zope-dev] Zope 3.4.0 candidate 1 Released

2008-02-01 Thread Martin Aspeli
Stephan Richter wrote: On Friday 01 February 2008, Martijn Faassen wrote: http://www.openplans.org/projects/zorg-redux This project does not seem to be public. Right - thanks Martijn for spilling the beans prematurely. ;-) We haven't wanted to make too much of a splash about this until we

[Zope3-Users] Re: z3ext

2008-02-13 Thread Martin Aspeli
Hi Nikolay, This looks very complete and powerful, from a super quick glance. I have a dream that the various Zope 2 + Zope 3 CMS efforts will get better at sharing components. Did you use/look at any of the plone.* components from Plone 3 (that work on Zope 3 also)? Do you think any parts

[Zope3-Users] Dynamic __providedBy__

2008-02-14 Thread Martin Aspeli
Hi! I may have a use case where I need an instance to provide marker interfaces dynamically. That is, under certain conditions I want the type to say it provides a particular marker interface, and otherwise it doesn't. It still needs to support the usual by-class and directly-provided idioms for

[Zope3-Users] Re: [Zope-dev] Zope 3.4.0 candidate 1 Released

2008-03-27 Thread Martin Aspeli
Kurt Zitze wrote: if you want to raise the userbase of zope, the first and most obvious thing to do is, get a forum running! mailing lists are bu*** and completly out of date. it is max cumbersome to login into your email account to do a post and so on, i think i dont need to enumerate all

[Zope3-Users] Re: [Zope-dev] Zope 3.4.0 candidate 1 Released

2008-03-28 Thread Martin Aspeli
Chris Shenton wrote: Martijn Faassen [EMAIL PROTECTED] writes: On the rest of your rant, I agree that the beginner experience for Zope 3 is suboptimal. Work is slowly progressing towards a new website for Zope. As an alternative you might like to look at Grok (grok.zope.org), which is based on

[Zope3-Users] Re: [Zope-dev] Zope 3.4.0 candidate 1 Released

2008-03-28 Thread Martin Aspeli
Hermann Himmelbauer wrote: Am Donnerstag, 27. März 2008 18:26 schrieb Kurt Zitze: if you want to raise the userbase of zope, the first and most obvious thing to do is, get a forum running! mailing lists are bu*** and completly out of date. it is max cumbersome to login into your email

[Zope3-Users] Re: XML schema definitions,zope.schema and z3c.form

2008-05-16 Thread Martin Aspeli
Christian Klinger wrote: Hi Nylan, we are working during the grokkerdam sprint on the same topic. Interesting! Can you give us some more information? Martin -- Author of `Professional Plone Development`, a book for developers who want to work with Plone. See

[Zope3-Users] A slew of z3c.form questions

2008-07-06 Thread Martin Aspeli
Hi, I'm using z3c.form in Plone via plone.z3cform. The z3c.form documentation is very good and very detailed, but I must admit to getting a bit lost in all of it. :) To that end, I have a few questions. I'm creating a pair of add- and edit forms for a content item: - I've created a few

[Zope3-Users] Re: A slew of z3c.form questions

2008-07-06 Thread Martin Aspeli
Hi Paul, Thanks a lot for this! You can override the updateActions method and modify the css after the buttons are created. As you may have read, buttons are like schema fields, and actions are like the widgets for a schema field. So to modify the appearance of a button, you have to actually

[Zope3-Users] z3c.form version of a 'lines' widget

2008-07-06 Thread Martin Aspeli
Hi, Is there a z3c.form input widget that can work on zope.schema.Set with a value_type of zope.schema.TextLine. That is, a widget that lets the user build a list of values (e.g. one per line)? I see the selection widget, but that assumes that there's a vocabulary. Cheers, Martin

[Zope3-Users] Re: A slew of z3c.form questions

2008-07-07 Thread Martin Aspeli
Stephan Richter wrote: On Sunday 06 July 2008, Martin Aspeli wrote: I'm guessing z3c.form groups do that, of course, but it's not clear to me whether it's appropriate to use them for this kind of thing, especially since the logical groupings and field ordering will only be calculable at runtime

[Zope3-Users] z3c.form - content add and edit forms

2008-07-15 Thread Martin Aspeli
Hi, It's very common to have a content type that has both an add- and an edit form. If you have custom widget setup code and other logic, you often have to replicate this across both forms to make them consistent. Is there a standard/recommended z3c.form pattern to reduce duplication in this

[Zope3-Users] Checking for existence of an adapter

2008-07-15 Thread Martin Aspeli
Hi, Is there some way to check whether an adapter exists without having something to adapt? Specifically, I want to know if a particular view is registered for a particular type of context and request/layer, with a particular name. However, I don't have an instance of the object of that

Re: [Zope3-Users] Dynamically generate interfaces, content object and z3c.forms?

2008-08-22 Thread Martin Aspeli
Hi Harald, I need some advise how to use dynamically generated interfaces, content and forms: I'm working on a package called Dexterity for CMF/Plone that can work with content types created through-the-web (among other things). For TTW content to have a unique interface, you need a dynamic

[Zope3-Users] Searchable sources and z3c.form

2008-08-25 Thread Martin Aspeli
Hi, What is the canonical way to do search-based sources/vocabularies? In particular, I want to use them with z3c.form. In zope.schema, I see mention of an ISourceQueriables. I also see these in zope.app.form, but not in z3c.form. I'm also not quite sure I understand how these work. In

[Zope3-Users] formlib to z3c.form widget adapter/bridge

2008-08-28 Thread Martin Aspeli
Hi, Has anyone written or thought about an adapter/bridge between formlib and z3c.form widgets? We have a few widgets that have no z3c.form equivalent, e.g. the formlib captcha widget. Whilst porting a widget isn't terribly hard, it would be really useful to have some kind of generic bridge

Re: [Zope3-Users] formlib to z3c.form widget adapter/bridge

2008-08-28 Thread Martin Aspeli
Stephan Richter wrote: On Thursday 28 August 2008, Martin Aspeli wrote: Has anyone written or thought about an adapter/bridge between formlib and z3c.form widgets? Not that I know of. But I think it might be hard to do due to the different definitions of what a widget and a field

Re: [Zope3-Users] thoughts about z3c.form-package

2008-10-07 Thread Martin Aspeli
garz wrote: hey, while using z3c.form-package i reach its limits here and there. thats why i started to think about how a more general implemention should look like. A *more* general z3c.form sounds like a frightening prospect. :-) Martin -- Author of `Professional Plone Development`, a

[Zope3-Users] Letting a custom factory instance act like a class with implements()

2009-01-10 Thread Martin Aspeli
Hi, I have the following three classes. DelegatingIndexer is a kind of generic implementation of the IIndexer interface (not shown, it basically just has a __call__ method) that delegates to a given callable after doing some prep work. DelegatingIndexerFactory is an adapter factory for the

[Zope3-Users] z3c.form image upload widget

2009-03-06 Thread Martin Aspeli
Hi, I'm in need of a z3c.form form that supports image uploads. Ideally, it should support optional and mandatory fields, and in 'edit' mode it should allow the user to either keep the current image or replace it with a new one (Plone/Archetypes has a radio button + a file upload widget to

  1   2   >