Re: [Zope] modifying/changing DTML properties
16 Aug
2000
16 Aug
'00
8:12 p.m.
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
9365
Age (days ago)
9365
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rik Hoekstra