I have a Customer and Address ZClasses based on Dataskin as well as a
CustomerManager specialist.

The Customer ZClass has a external method setAddress:

def setAddress(self, Address)
  self.Address = Address

CustomerManager has a defaultRack and addressRack.
The methods that adds the instance contains this:

<dtml-let newCustomer="newItem(name)">
<dtml-call
"newCustomer.propertysheets.Basic.manage_changeProperties(test=test)">
  <dtml-let address="addressRack.newItem(id)">
     <dtml-call
"address.propertysheets.basic.manage_changeProperties(test=test)">
     <dtml-call "newCustomer.setAddress(address)">
  </dtml-let>
</dtml-let>

and it seems to work fine.

Then to retrieve the Customer addresses I call:

<addressRack.getPersistentItemIDs()">

but there seems to be a problem with permissions because Zope prompts me for
username and password although i'm already working in the management
interface.

Roché



_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to