You can't use DTML inside of DTML... try: <dtml-in "getMilestones(milestoneid)"> This assumes there is a variable named milestoneid in the namespace somewhere. Adam Gotheridge wrote:
I am trying to call an sql method which requires and integer argument. If I call it with <dtml-in "getMilestones(milestoneid='<dtml-var milestoneid>')">
I get "Invalid integer value for milestoneid "
If I use
<dtml-in "getMilestones(milestoneid=<dtml-var milestoneid>)">
I get "invalid syntax, for tag <dtml-in "getMilestones(milestoneid=<dtml-var milestoneid>)">, on line 24 of editTask
Can anyone help? I have been at this for over 2 hours.
Thanks,
Adam
_______________________________________________ Zope maillist - Zope@zope.org 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 )
-- Chris McDonough Digital Creations, Inc. Zope - http://www.zope.org