----- Original Message -----
From: "Pierre Rougier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 08, 2000 12:19 PM
Subject: [Zope] creating objects... and change properties..


> <dtml-with "manage_clone(livre1,Key,REQUEST)">
>
>   <dtml-call "manage_changeProperties(
>    EntryType=REQUEST['Type'],
>    author=Author,
>    title=Title,
>    year=Year,
>    publisher=Publisher,
>    volume=Volume,
>    adress=Adress,
>    edition=Edition,
>    month=Month,
>    note=Note
>   )">
> </dtml-with>
>
> (Author, Title..... are knowed because in a dtml-let flag....)
> Well, livre1 is a object created by a SFactory (a product contening a
> ZClass with a propertysheet)

When working with propertysheets, you need to let Zope know which
propertysheet to change. All you need to do is change the above to:

<dtml-call "propertysheets.YourPropertySheetName.manage_changeProperties(
...

Hope this helps...

Kevin


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

Reply via email to