[EMAIL PROTECTED] writes:
 > ... changing part of a token property ...
 > <dtml-call "Dict_Test.manage_changeProperties({'Budget[0]':
 > neuesBudget})">

You can try

<dtml-with Dict_Test>
  <dtml-call "Budget.remove(Budget[0])"> <!-- removes first element -->
  <dtml-call "Budget.insert(0,neuesBudget)"> <!-- adds new first element -->
</dtml-with>

Of cause, you will get an IndexError, if "Budget" is empty.
You may need to provide code to handle this case.


Dieter

_______________________________________________
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