[Zope3-Users] Re: Generate view for adapted interface

Rocky Burt rocky at serverzen.com
Mon Jun 12 08:09:00 EDT 2006


On Mon, 2006-12-06 at 00:19 +0200, Philipp von Weitershausen wrote:
> zope.formlib will automatically adapt your object to the form interface
> if it doesn't provide it. So, when you have form for IMyObject that uses
> form fields from, say, IDublinCore, it will automatically adapt your
> object to IDublinCore and save the modifications on the adapter.

Well, it will *attempt* to adapt it :)

Upon learning how this all works the first thing I banged into was when
my class didn't implement the interface (nor did I provide an adapter) I
was using for my form and I got component errors ;)

- Rocky

-- 
Rocky Burt
ServerZen Software -- http://www.serverzen.com
News About The Server (blog) -- http://www.serverzen.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20060612/2d70e8dd/attachment.bin


More information about the Zope3-users mailing list