Hi, again, all! I'm looking for a way of adding 1 to a variable then storing it into the Zope database (Gadfly) through DTML. I don't want to use any External Methods if possible. I understand that External Methods would be easier, but it's important that it not be such a method. Thanks again! Donner
Donald Holten wrote:
Hi, again, all! I'm looking for a way of adding 1 to a variable then storing it into the Zope database (Gadfly) through DTML. I don't want to use any External Methods if possible. I understand that External Methods would be easier, but it's important that it not be such a method. Thanks again! Donner
Use a property. You can change it with: <dtml-call "manage_changeProperty(prop = prop + 1)"> Make sure you have the property instanciated of the object you want the incrimental integer to be a member of. -Michel
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Donald Holten -
Michel Pelletier