[Zope-dev] ZPatterns: Remapping object from on to another specialist
Roch'e Compaan
roche@ybm.co.za
Mon, 13 Nov 2000 17:51:26 +0200
Another fuzzy freaky area for me:
How will one implement the remapping of an object from on to another
specialist?
Say I have Requesters (Customer's with service requests) specialist that I
want to map to Customers
Should I still set up a rack and set it's storage to the Customer ZClass and
add a skinscript method to copy attributes from the Customer specialist?
or
Should I simply write a method for Requester, getRequester, which asks the
Customers specialist for a Customer.
Another question:
If I pass an attribute that is not registered with any attributeproviders in
a manage_changeProperties call to the object's propertysheet, will that
attribute automatically be added on top of the object? Should one
explicitly call manage_addProperty?
Roché