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

Adam GROSZER agroszer at gmail.com
Wed Oct 8 09:45:00 EDT 2008

Hey Roger,

Yes, you're right, thanks for the explanation.

Wednesday, October 8, 2008, 3:32:04 PM, you wrote:

RI> Hi Tim, Adam

>> Betreff: Re: [Zope3-Users] thoughts about z3c.form-package
>> On Wed, 2008-10-08 at 06:25 +0200, Roger Ineichen wrote:
>> > Adam Groszer is working on a ObjectWidget implementation.
>> What is the proposed functionality of ObjectWidget?

RI> The ObjectWidget is a widget for an IObject field.
RI> This field is used for attributes which provide a own
RI> schema and hold a refenece to a pyton instance 
RI> providing this schema. (does this make sense?)

RI> Probably a sample explains it better.
RI> The attribute door in the sample below is an Object field.

RI> class IDoor(zope.interface.Interface):
RI>     """A cars door."""

RI>     color = zope.schem.TextLine(
RI>         title=u'Color')

RI> class ICar(zope.interface.Interface):
RI>     """A car."""

RI>     door = zope.schem.Object(
RI>         title=u'A cars door',
RI>         schema=IDoor)
RI> ...

RI> The ObjectWidget is now responsible for render an input
RI> widgets in an EditForm for the color attribte of the door.

RI> Adam, is this correct?

RI> Regards
RI> Roger Ineichen

>> Thanks,
>> Tim
>> --
>> Timothy Cook, MSc
>> Health Informatics Research & Development Services LinkedIn 
>> Profile:http://www.linkedin.com/in/timothywaynecook
>> Skype ID == timothy.cook
>> **************************************************************
>> *You may get my Public GPG key from  popular keyservers or   *
>> *from this link http://timothywayne.cook.googlepages.com/home*
>> **************************************************************

RI> _______________________________________________
RI> Zope3-users mailing list
RI> Zope3-users at zope.org
RI> http://mail.zope.org/mailman/listinfo/zope3-users

Best regards,
 Adam GROSZER                            mailto:agroszer at gmail.com
Quote of the day:
She who loves roses must be patient and not cry out when she is pierced by thorns.
- Brouman, Olga 

More information about the Zope3-users mailing list