When you use the "manage_changeProperties()" method, you need to reference the propertysheet to which your class properties belong to. By way of product management, find out which propertysheet (belonging to the ZClass that "mePerso" is an instance of) contains the properties "company", "name", "surname" etc.
Assuming the name of this propertysheet is "info_sheet", the proper format of the call is as follows:

<dtml-call "mePerso.propertysheets.info_sheet.manage_changeProperties({
'company':'world-company',
'name':'Sylvestre',
'surname':'joe',
'e-mail':name+'.'name+'@'+idomain,
'idomain':'world-company'
})">

Francois-Regis CHALAOUX wrote:

Thanks for my previous question on PARENTS. I'm so stupid, python slices are
so cool.

Another question :

<dtml-call "mePerso.manage_changeProperties({
'company':'world-company',
'name':'Sylvestre',
'surname':'joe',
'e-mail':name+'.'name+'@'+idomain,
'idomain':'world-company'
})">

should change my object properties. But nothing append
Any suggestion?
mePerso is an instance of ZClass I created.

FR
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

_______________________________________________
Zope maillist  -  Zope@zope.org
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 )

-- 
Suneel Iyer                               Email : suneeli@pacsg.css.mot.com
Software Engineer                         Phone : (847) 523-7259
Advanced Technology Software Operations   Fax   : (847) 523-3867
Motorola Cellular Subscriber Sector       Pager : 1-800-759-8352, pin 1273286
600 North U.S. Hwy 45, MS AN363                   or email 1273286@skytel.com
Libertyville, IL  60048-1286