Re: [Zope3-Users] stuffing the request object in zope3

2005-10-03 Thread Gary Poster
On Oct 3, 2005, at 11:19 AM, Tim Middleton wrote: I've done a few Zope 2 projects, and am trying to wrap my head around Zope 3 now. The style I evolved for putting together Zope 2 applications may not have been very orthodox. Basically I found that I disliked (and mistrusted, maybe

Re: [Zope3-Users] object has no attribute '_SampleContainer__data'

2005-10-03 Thread Gary Poster
On Oct 3, 2005, at 9:29 PM, Leticia Larrosa wrote: AttributeError: 'Service' object has no attribute '_SampleContainer__data' Hi Leticia. It looks like your container overrides __init__ and, rather than deferring to the SampleContainer.__init__, you are trying to set the __data value in

Re: [Zope3-Users] Problems with a catalog

2005-09-28 Thread Gary Poster
On Sep 27, 2005, at 10:01 PM, Tom Dossis wrote: 1. How do I add a catalog to a site ? Hi Tom. Looks like you might have already worked yourself out of this, but I'll respond for the list, at least. If you are creating and configuring a site programmatically within a single

Re: [Zope3-Users] Adding indexes to a Catalog tool subclass

2005-09-28 Thread Gary Poster
On Sep 28, 2005, at 1:53 AM, Tom Dossis wrote: I can add a tool which is a simple subclass of Catalog. However if I try to add some index(es) in the constructor it fails with a NotYet error (see below). Is there a simple way to achieve this? Yes. Don't add the indexes with the

Re: [Zope3-Users] Users and the Ownership of Objects

2005-09-28 Thread Gary Poster
On Sep 28, 2005, at 9:16 AM, Jim Fulton wrote: Note that in the Sharing policy that we'll be releasing (soon, I hope), the sharing privilege is pretty darn close to ownership, as we've discussed. Oh, yeah. :-) Cool. Gary ___ Zope3-users mailing

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

2005-08-04 Thread Gary Poster
On Aug 4, 2005, at 12:58 PM, Alec Munro wrote: Hi List, We want to allow a choice field with an other option, that allows them to type in an arbitrary value. So far, we have this working up until the point of validation. At the point of validation, it notices that the other value is not in

Re: [Zope3-Users] browser:form

2005-07-18 Thread Gary Poster
On Jul 18, 2005, at 5:22 PM, John Smith wrote: Hi Everyone, Can anyone give me a few pointers how to use a schema to auto generate a form that I can use in a view of a content object? If you are OK with running Python 2.4.1 and Zope 3.1, and ok with installing a third package, Zope Corp

Re: [Zope3-Users] HTTP Post Request Handling

2005-07-16 Thread Gary Poster
On Jul 16, 2005, at 8:10 PM, John Smith wrote: Dear All, I hope I have the right mailing list. Perhaps someone can help me with a fairly basic question. When I used Zope 2, I used the following idiom for form submission. Send http POST to Script(Python) or External Method, which would then

Re: [Zope3-Users] Ordered list of sub objects

2005-07-15 Thread Gary Poster
On Jul 15, 2005, at 8:06 AM, Johan Carlsson wrote: Hi all, I want to have a list of ordered sub objects (potentially if different types) for an object. ... Johan, something in our 'to be open sourced' bag that I can make available as a preview (i.e., ZPL, but a static checkout rather

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

2005-07-11 Thread Gary Poster
On Jul 11, 2005, at 9:15 PM, Alec Munro wrote: Sorry for the vague subject, but I wasn't sure how to summarize this. It's not exactly a Zope question, but perhaps Zope has some tricks to make it easier. In a couple of situations, I want to have a collection of objects, and allow users to

Re: [Zope3-Users] WYSIWYG editing of HTML

2005-07-11 Thread Gary Poster
On Jul 11, 2005, at 9:35 PM, Pupeno wrote: Hello, I am new to Zope 3, I am reading the book, I am on chapter 15 (just finished) and I am definitly going to use a WYSIWYG HTML widget and field on the systems I am going to do. Is anybody working on that ? Is there anyone that is likely to

Re: [Zope3-Users] schema interface field validation

2005-05-05 Thread Gary Poster
On May 5, 2005, at 3:16 AM, Alen Stanisic wrote: Hi, could I reference other fields inside the schema interface to, for example, default one field based on the value entered in one of the previous fields, or to set 'required' attribute based on previous fields entered One way (the approved way) to

<    1   2