[Zope] Modify an objet

Suneel Iyer suneeli@pacsg.css.mot.com
Sun, 20 Feb 2000 20:32:53 -0600


--------------A7757211F16B3488DDDBE6FC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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



--------------A7757211F16B3488DDDBE6FC
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
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.
<br>Assuming the name of this propertysheet is "info_sheet", the proper
format of the call is as follows:
<p>&lt;dtml-call "mePerso.propertysheets.info_sheet.manage_changeProperties({
<br>'company':'world-company',
<br>'name':'Sylvestre',
<br>'surname':'joe',
<br>'e-mail':name+'.'name+'@'+idomain,
<br>'idomain':'world-company'
<br>})">
<p>Francois-Regis CHALAOUX wrote:
<blockquote TYPE=CITE>Thanks for my previous question on PARENTS. I'm so
stupid, python slices are
<br>so cool.
<p>Another question :
<p>&lt;dtml-call "mePerso.manage_changeProperties({
<br>'company':'world-company',
<br>'name':'Sylvestre',
<br>'surname':'joe',
<br>'e-mail':name+'.'name+'@'+idomain,
<br>'idomain':'world-company'
<br>})">
<p>should change my object properties. But nothing append
<br>Any suggestion?
<br>mePerso is an instance of ZClass I created.
<p>FR
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<p>_______________________________________________
<br>Zope maillist&nbsp; -&nbsp; Zope@zope.org
<br><a href="http://lists.zope.org/mailman/listinfo/zope">http://lists.zope.org/mailman/listinfo/zope</a>
<br>**&nbsp;&nbsp; No cross posts or HTML encoding!&nbsp; **
<br>(Related lists -
<br>&nbsp;<a href="http://lists.zope.org/mailman/listinfo/zope-announce">http://lists.zope.org/mailman/listinfo/zope-announce</a>
<br>&nbsp;<a href="http://lists.zope.org/mailman/listinfo/zope-dev">http://lists.zope.org/mailman/listinfo/zope-dev</a>
)</blockquote>

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

--------------A7757211F16B3488DDDBE6FC--