Hi,
I am putting together a simple application based on Philipp Von
Weitershausen's book.
When an object is updated, I update the Dublin Core metadata in an event
handler. The code is similar to the following...
@adapter(IListing, IObjectModifiedEvent)
def updateListingDCTitle(listing, event):
Further to my last email, it appears that my error is using the
FoundPrincipalFactory. I changed the code to use the getPrincipal method
of the PAU and it works fine.
pau = getUtility(IAuthentication)
principal = pau.getPrincipal(principal_id)
Thanks
Kevin
> I am following the e
Hi,
I am following the example in chapter 22 of Philipps book. I am setting
up the PAU so that new users can register with the site. I am extending
the example so that the information entered when creating the Principal
is copied to the Annotations. Thus I can present the user with a one
step sig
The background
I have created a simple skin. I have a viewlet in this skin. The viewlet
populates a Sidebar. If I create a page template in the file system and
configure it via ZCML, the viewlet works.
I also want to create some pages through the ZMI and I am using page
templates and my ski