25 Jan
2002
25 Jan
'02
12:11 p.m.
Em Quinta, 24 de Janeiro de 2002 16:07, JĂșlio Dinis Silva escreveu:
<dtml-let results="myZsqlMethod"> ... </dtml-let>
Are you sure? This should be possible. What traceback do you get?
The "let" by itself works, but it doesn't store the Results just the ZSQL method itself (i.e., if i try results[0] I get a traceback).
Another Option (store <Shared.DC.ZRDB.Results.Results instance>) : <dtml-call "REQUEST.set('Results',MyZsqlMethod)">
This is the same thing.
<dtml-call "REQUEST.set('results',[])"> <dtml-in MyZsqlMethod> <dtml-call "results.append(_['sequence-item'])"> </dtml-in>
This might do the trick, but I prefer Ulli's way :-) Nuno