[Zope3-Users] ComponentLookupError

Jachin Rupe jachin at voltzsoftware.com
Thu May 11 15:12:13 EDT 2006


hi there

opps.... I forgot:

------------streetAddress.py----------------

from persistent import Persistent
from zope.interface import implements

from abook.interfaces import IStreetAddress


class StreetAddress(Persistent):
	
	implements(IStreetAddress)
	
	street = u""
	city = u""
	state = u""
	zipcode = u""



On May 11, 2006, at 2:02 PM, Egon Frerich wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Jachin,
>
>
> Jachin Rupe schrieb am 11.05.2006 19:12:
>
>> ------------interfaces.py----------------
>>
>> from zope.interface import Interface
>> import zope.schema
>>
>> class IStreetAddress(Interface):
>>     """A vine street address"""
>>
>>     street = zope.schema.Text (
>>         title=u"Street 1",
>>         description=u"The street address",
>>         required = False
>>     )
>>
>>     city = zope.schema.TextLine (
>>         title=u"City",
>>         description=u"The city.",
>>         required = False
>>     )
>>
>>     state = zope.schema.TextLine (
>>         title=u"State",
>>         description=u"The state.",
>>         required = False
>>     )
>>
>>     zipcode = zope.schema.TextLine (
>>         title=u"Zip Code",
>>         description=u"The zip code",
>>         required = False,
>>         min_length = 5
>>     )
>>
>>
>>
>
> Can you please me your implementation for this?
>
> Egon
>
> - --
> Egon Frerich, Freudenbergstr. 16, 28213 Bremen
>
> E-Mail: e.frerich at nord-com.net
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (MingW32)
> Comment: GnuPT 2.7.2
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEY4pDuTzybIiyjvURAlPqAJ4tupOdpsCvIK7SBco58WJ7rQEpGwCfdl+u
> poVz3T26Wfap0sRx8X0Ed7A=
> =KQ3V
> -----END PGP SIGNATURE-----



More information about the Zope3-users mailing list