[Zope-dev] External Method Return value?
Clayton Miller
cmille9@hotmail.com
Mon, 24 Jan 2000 17:43:07 GMT
Chris,
Thanks for the timely response. What I am trying to do is to replace some
code that use to be like:
someDTMLmethod
--------------
dtml-in "someSQLmethod(anyParams)"
<dtml-var FIELDA>, <dtml-var FIELDB>
/dtml-in
someSQLmethod
-------------------------
select FIELDA, FIELDB from some Table ...
I am attempting to replace this with an external method like:
someDTMLmethod
--------------
dtml-in "someExtmethod(anyParams)"
<dtml-var FIELDA>, <dtml-var FIELDB>
/dtml-in
someExtMethod
-----------------------
results = self.someSQLmethod(anyParams)
""" further processing of results into new results """
return newresults
someSQLmethod
-------------------------
same as above
How do I get the tuples(python return value) to work as the same
type of results(old SQLMethod) to the dtml-in?
Clayton
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com