[Zope3-Users] Re: [Zope3-dev] z3c.formjs-0.2 and z3c.formjsdemo-0.2 released!

2007-07-19 Thread Darryl Cousins
Hi Paul, Hey, very smooth. Congratulations. I've committed a change to buildout.cfg removing z3c.form* develop eggs which kinda spoilt the buildout. Best regards, Darryl Cousins ___ Zope3-users mailing list Zope3-users@zope.org

Re: [Zope3-Users] Problems with internationalization

2007-07-19 Thread Jeremy Cook
Thanks Dmitry, I can see how it should work. However I am still having trouble. My application is initially based on the wcsite example and is intended to be really not any more complex than that so I wanted to keep it that way. However I have probably inherited something from wcsite that I

[Zope3-Users] schema.List validation does not accept PersistentList

2007-07-19 Thread Alek Kowalczyk
Hi, I have a schema with the List field defined: from zope.interface import Interface from zope.schema import List, TextLine class IMyObject(Interface): myList = List(title=u'mylist', value_type=TextLine(title=u'item')) Then I implement this using field property. Then in constructor I

Re: [Zope3-Users] schema.List validation does not accept PersistentList

2007-07-19 Thread Leonardo Rochael
Hi Alex, Alek Kowalczyk wrote: I have a schema with the List field defined: from zope.interface import Interface from zope.schema import List, TextLine class IMyObject(Interface): myList = List(title=u'mylist', value_type=TextLine(title=u'item')) Then I implement this using field

[Zope3-Users] Convention Question

2007-07-19 Thread Tim Cook
Does z3c stand for Zope 3 Component? Thanks, Tim signature.asc Description: This is a digitally signed message part ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Convention Question

2007-07-19 Thread Tim Cook
Does z3c stand for Zope 3 Component? Thanks, Tim ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Convention Question

2007-07-19 Thread Benji York
Tim Cook wrote: Does z3c stand for Zope 3 Component? It stands for Zope 3 community, but (IMO), name space package names, while mnemonic, don't actually confer meaning. In other words, just because Zope Corp uses zc. as our name space doesn't mean anything other than we were the ones that

Re: [Zope3-Users] Convention Question

2007-07-19 Thread Tim Cook
Thanks for the answer. I should have explained why I wanted to know. I've been away from Zope 3 or 4 years (so I missed those emails) and I am now tasked with preparing a workshop for next year (as I re-learn everything too). I know that is one of the questions I'll get. So, I wanted to be able

[Zope3-Users] Re: schema.List validation does not accept PersistentList

2007-07-19 Thread Alek Kowalczyk
Leonardo Rochael [EMAIL PROTECTED] writes: As it happens, PersistentList is not an instance of list. Proponents of strong dynamically-typed OO would complain that this code is forcing the comingling of the type concept (a.k.a. interface) into the concept of class inheritance [...] The

Re: [Zope3-Users] Re: schema.List validation does not accept PersistentList

2007-07-19 Thread Fred Drake
On 7/19/07, Alek Kowalczyk [EMAIL PROTECTED] wrote: Thanks! List should be list, whether it is persistent or not, but it's the simplest solution... You probably want to check the results of the edit widgets; they might produce list values instead of PersistentList values. Widgets are not

Re: [Zope3-Users] Re: schema.List validation does not accept PersistentList

2007-07-19 Thread Fred Drake
On 7/19/07, Leonardo Rochael [EMAIL PROTECTED] wrote: They seem to do the right thing (I fixed one of the cases when it didn't). Check zope/app/form/browser/itemswidgets.py:MultiDataHelper._toFieldValue() ... if hasattr(self.context, '_type'): _type = self.context._type