Forum OpenACS Q&A: Re: is it possible to call a tcl proc from adp page ?

Collapse
Posted by abbas beginner on
just to make it more clear

i am getting a dbmulirow result

and before i print them out onto the page i have to modify the string via a regexp - i have a proc that does it but how can i call this from the adp page directly ?

hope ive been clear

thanks

Collapse
Posted by Alfred Werner on
<%= [my_proc params] %>  and
<% [my_proc params] %>

print results or don't

might be 'old school' :) but it works for me.

Lots of %this_stuff% these days. Guess that's when the flow is reversed - tcl runs then you ns_adp_parse ..

Collapse
Posted by abbas beginner on
thanks for that

the reason why i need it from the adp page is because

i have my adp setting up a grid for my results from db_multirow already and thought if i can call the function from within the adp page itll just be easier

thanks guys