[Zope] help manage_changeproperties()

David Hassalevris bluepaul@bluepaul.com
Tue, 29 May 2001 20:42:44 -0700


technology@mylinuxisp.com wrote:
> 
> Hey Guys:
> 
> I have instances of a zclass from a product of meta type 'story'.
> I these instances have a property of type text.
> I am attempting to update the 'story_title' property of this object.
> These objects are stored in the folder 'entries'.
> I am passing story_id and story title from a form to a dtml method.
> Here is the code for the dtml method.
> I get no errors.
> Thanks
> cj
> 
> <dtml-with entries>
> 
> <dtml-in  "objectValues(['story'])">
> <dtml-if  "id == story_id">
> 
> <dtml-call "manage_changeProperties( story_title = REQUEST['story_title'])">
> 
> </dtml-if>
> </dtml-in>
> 
> </dtml-with>

cj,
Maybe if you try something *like*:
  .
  .
  <dtml-if "id==story_id">
     <dtml-with "_.getitem(id)">  
        <dtml-call manage_changeProperties( ....
     <dtml-with>
  <dtml-if>
David