[Zope3-Users] How to get started?

2006-02-16 Thread Andre Meyer
Dear Zope 3 users and developers I have been using Zope 2 in the past and was very enthusiastic about the Zope 3.0 release some time ago. Therefore, I bought both books by Stephan and Philipp. Unfortunately, I didn't have the time to actually start developing. But now, a colleague of mine does

Re: [Zope3-Users] Lists dont accept default values

2006-02-16 Thread Frank Burkhardt
Hi, On Wed, Feb 15, 2006 at 06:18:48PM +0100, Florian Lindner wrote: [snip] I wrote a schema like this to have a list of objects on a content object: class IMyContent(Interface): mynumbers=List( title=_(uCool Numbers), required=True, value_type=Int(

Re: [Zope3-Users] What attributes are made persistent

2006-02-16 Thread Chris Withers
Peter Bengtsson wrote: So by using PersistentList it just means that you can use: self.alist.append(1) in your code. The attribute, self.alist, is still saved even without PersistentList but it just means you have to be careful when writing to it. PersistentX classes also usually subclass

Re: [Zope3-Users] Re: Zope 3 Developer's LiveBook

2006-02-16 Thread Chris Withers
Fred Drake wrote: I've worked a bit with generating OpenDocument documents for use with OpenOffice, and have no expectation that the document will be edited in a way that a plain-text user will be happy with. Since the files are ZIP files that contain XML, it's not like supporting plain text

Re: [Zope3-Users] What attributes are made persistent

2006-02-16 Thread Peter Bengtsson
On 2/16/06, Jeff Shell [EMAIL PROTECTED] wrote: One could, but it's really not worth it. It's just the laws of Python and mutability and immutability :). (It took me years to understand those terms. I kept associating them with 'mutable' in the can be made quiet sense... Eventually my music

Re: [Zope3-Users] What attributes are made persistent

2006-02-16 Thread Jean-Marc Orliaguet
Peter Bengtsson wrote: On 2/16/06, Jeff Shell [EMAIL PROTECTED] wrote: One could, but it's really not worth it. It's just the laws of Python and mutability and immutability :). (It took me years to understand those terms. I kept associating them with 'mutable' in the can be made quiet

Re: [Zope3-Users] Lists dont accept default values

2006-02-16 Thread Gary Poster
On Feb 16, 2006, at 3:55 AM, Frank Burkhardt wrote: I wrote a schema like this to have a list of objects on a content object: class IMyContent(Interface): mynumbers=List( title=_(uCool Numbers), required=True, value_type=Int( title=_(integer) )

[Zope3-Users] Announcement: zsqlmap

2006-02-16 Thread Garanin Michael
Announcement zsqlmap-project: zsqlmap - it's Zope3-wrapper for SQLObject. i borrow idea from sqlos (http://codespeak.net/z3/sqlos) and add features. Homepage: https://code.keysolutions.ru/trac/zsqlmap/ Enjoy. ___ Zope3-users mailing list

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

2006-02-16 Thread Peter Simmons
Hi Gary, Thanks for pointing me over there I subscribed to the list and will repost. Cheers, Pete Gary Poster wrote: On Feb 15, 2006, at 9:40 PM, Peter Simmons wrote: I haven't seen it before in the Zope 3 community but maybe we could start a thing on Fundable.org to get some money for

Re: [Zope3-Users] Squid/Apache Caching

2006-02-16 Thread Andrew Sawyers
If you have needs for Apache, use Apache - but there is no need for it just for rewriting urls. There are plenty of ways to rewrite in Squid - and you can always write your own. See http://www.squid-cache.org/related-software.html for a list of redirectors that are available out there. Having

[Zope3-Users] Recipe with default values

2006-02-16 Thread Marco Mariani
In chapter 5.4 of the cooking book, Philipp says: [...] We could now implement a custom factory, for example one that allows us to set initial attribute values of the recipe. (We would normally extend the Recipe class with a constructor to do that, but let us implement a factory here for

RE: [Zope3-Users] question: can I make a view trusted?

2006-02-16 Thread Shaun Cutts
Ah, Here's something to note: When I print out the schema objects just before attempting to access their titles, I get: --- zope.schema._bootstrapfields.Int object at 0x022E4490 zope.schema._bootstrapfields.TextLine object at 0x022E4470

RE: [Zope3-Users] question: can I make a view trusted: A BUG

2006-02-16 Thread Shaun Cutts
Ok everyone: it is a zope bug. The following should be included in zope.app.schema.fields.zcml: content class=zope.schema.Date factory id=zope.schema.Date title=Date Field description=Date Field / require like_class=zope.schema.Orderable / require

[Zope3-Users] Overriding formlib field size

2006-02-16 Thread Brett Haydon
Hi, I am just starting with zope 3.2 and am using the zope.formlib to generate a simple form. Where and how do I override the presentation aspect of the input field length in html. e.g. size=20 div class=widgetinput class=textType id=form.full_name name=form.full_name size=20 type=text

Re: [Zope3-Users] Overriding formlib field size

2006-02-16 Thread Fred Drake
On 2/17/06, Brett Haydon [EMAIL PROTECTED] wrote: I am just starting with zope 3.2 and am using the zope.formlib to generate a simple form. Where and how do I override the presentation aspect of the input field length in html. e.g. size=20 div class=widgetinput class=textType