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

Chapter 29. Registries with Global Utili... > Step 5: Implementing ZCML Directives

Step 5: Implementing ZCML Directives

You might have already wondered how this utility can be useful, if it does not even deal with the smiley images. This functionality is reserved for the configuration. When a smiley registration is made, the directive receives a path to an image, but it does not just register the path with the smiley theme. Instead, it first creates a resource for the image and then passes the resource's relative path to the smiley theme.

There are three steps to writing a ZCML directive: create the directive schema, implement the directive handlers, and write the meta-ZCML configuration. They are described in the following sections.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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