first: consider changing to the 'new' dtml syntax


>- I have a folder in my zope tree called spam. 
>- spam has one document called "foo"
>- spam has a property called "eggs" which is set to "green"
>
>foo looks like this:
>  hello
>  <p><!--#var eggs --> ( &dtml-eggs; )
>
>I want to be able to change the value of eggs to, say, "blue" like so:
>  <!--#if someCondition -->
>  <!--#call "MythicalChangePropertyFunction(eggs, 'blue')" -->

<Untested>

<dtml-call "manage_changeProperties('eggs', 'blue')">

>  <!--#endif -->
>  <p>eggs is now <b><!--#var eggs --></b>
>
>how do I do this?
>
>I am running Zope 2.1.6 under debian linux.


this is platform independent

hth

Rik


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to