Rik, thanks, yeah that is similar to what I want. In fact basically it, except it doesn't work for me. I want to change the value of a property of an instance. I think I am addressing it properly, and it doesn't come up with any errors, but when I check the property it hasn't changed. could this be to do with permissions? or would I get an error then? josh
have you tried (untested, I don't quite understand what you try to do)
<dtml-call "REQUEST.set('gchildren', gchildren+12)"> <dtml-call "_.getitem(parent_id).manage_changeProperties(REQUEST)">
also see
http://zdp.zope.org/projects/zsnippet/snippets/DTMLContent/getobject_by_refe
rence
Rik
_______________________________________________ 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 )