• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 17. Changing Size Information > Step 3: Registering the Adapter

Step 3: Registering the Adapter

Now you need to register the adapter in messageboard/configure.zcml, using the following ZCML directive:

01 <adapter
02     factory=".message.MessageSized"
03     provides="zope.app.size.interfaces.ISized"
04     for=".interfaces.IMessage"
05     />


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint