Re: [Zope] creating objects... and change properties..

2000-06-08 Thread Kevin Dangoor

- 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..


> 
>
>   EntryType=REQUEST['Type'],
>author=Author,
>title=Title,
>year=Year,
>publisher=Publisher,
>volume=Volume,
>adress=Adress,
>edition=Edition,
>month=Month,
>note=Note
>   )">
> 
>
> (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:

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 )




[Zope] creating objects... and change properties..

2000-06-08 Thread Pierre Rougier

Well, I am sorry to send three messages a day, but I am really
desappointed...

I use the following code:




  


(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)

Zope do not give me any error, instantiate the new object, but does not
change the properties of the new object. :^(

does anybody can tell me why?

I have seen a function "manage_afterClone"  in the ZQR... do u know what
is it?

Thanks... and sorry for all my emails...


___
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 )