On Wed, 16 Aug 2000, Paul Schreiber wrote:
> --- "R. David Murray" <[EMAIL PROTECTED]> wrote:
> > On Wed, 16 Aug 2000, Paul Schreiber wrote:
> > > > <dtml-call "manage_changeProperties('eggs', 'blue')">
> > 
> > <dtml-call "manage_changeProperties({'eggs': 'blue'})">
> This:
>   <b><!--#var eggs --></b>
>   <dtml-call "manage_changeProperties({'eggs': 'blue'})">
>   <p><!--#var eggs -->
> results in:
>    <b>green</b>
>    <p>green
> did i miss something?

Hmm.  That should have worked.  You could try
manage_changeProperties(eggs='blue') as an alternative, but the
dictionary way should have worked.

Did you check the property after the method had executed?  Perhaps
the change is not visible until the method completes, although I
would not expect that to be the case...unless 'eggs' exists "closer"
in the name space stack as a variable than it does as a property
on the object, in which case the second dtml-var would be picking
up the variable value but the manage_changeProperties will have
affected property of the object it was called on.


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to