[Zope-dev] How to set a DTML-Documents properties

Chris Gray cpgray@library.uwaterloo.ca
Sun, 26 Nov 2000 01:05:46 -0500 (EST)


to add the property prop_id='This is a string' to the document doc_id

<dtml-call "doc_id.manage_addProperty('prop_id', 'This is a string',
'string')">

to change that property to 'New string'

<dtml-call "doc_id.manage_changeProperties(prop_id='New sting')">

The details are in the API reference under the class ProperySheet.

Chris


On Sun, 26 Nov 2000, robert wrote:

> Hi there,
> I am looking for a way to set a DTML-Documents property from a DTML-Method.
> 
> Any advise is appreciated.
> 
> Robert
> 
> 
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>