|
I'm not sure if this is what you want, but I think
you can use <@purgeresults> anywhere to clear the <@results>
variable out. It then starts accumulating subsequent results. We put
<@purgeresults> alone in a results action right before the actions we want
to store in a variable.
----- Original Message -----
From: David Shelley To: [email protected] Sent: Thursday, November 10, 2005 11:25 AM Subject: RE: Witango-Talk: Feature request? Very cool, yeah it looks like <@results> grabs all the results up to that point in the file but where i want to assign the sql/witango to a variable is somewhere in the middle unfortunately :P oh well, something for the future hopefully! (: On 11/10/05, William M Conlon <[EMAIL PROTECTED]> wrote: Yeah, it's well hidden. I've asked for this feature already. It would be similar to returning your results html from a method call, or like an encoding attribute that let you specify the variable to which the results are appended. On Nov 10, 2005, at 9:55 AM, Alan Wolfe wrote: > I can't find the feature request place anymore on witango.com > (maybe i'm just blind) but i was just thinking a good feature would > be to have an option to make a results html go into a variable > instead of being output to the screen. > > I have some complicated witango code and sql i'm trying to put into > a variable and making sure the quotes are toggled correctly etc > would not be an issue if a results HTML could just be redirected to > a variable (: > ______________________________________________________________________ > __ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf Bill ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf You could put all the code into a method in a TCF file, set to return html. Then call that method and assign the results to a variable. Dave Shelley Very cool, yeah it looks like <@results> grabs all the results up to that point in the file but where i want to assign the sql/witango to a variable is somewhere in the middle unfortunately :P oh well, something for the future hopefully! (: On 11/10/05, William M Conlon <[EMAIL PROTECTED]> wrote: Yeah, it's well hidden. I've asked for this feature already. It would be similar to returning your results html from a method call, or like an encoding attribute that let you specify the variable to which the results are appended. On Nov 10, 2005, at 9:55 AM, Alan Wolfe wrote: > I can't find the feature request place anymore on witango.com > (maybe i'm just blind) but i was just thinking a good feature would > be to have an option to make a results html go into a variable > instead of being output to the screen. > > I have some complicated witango code and sql i'm trying to put into > a variable and making sure the quotes are toggled correctly etc > would not be an issue if a results HTML could just be redirected to > a variable (: > ______________________________________________________________________ > __ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf Bill ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf -----Original Message----- From: Alan Wolfe [mailto:[EMAIL PROTECTED] Sent: Thursday, November 10, 2005 1:10 PM To: [email protected] Subject: Re: Witango-Talk: Feature request? ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf |
- Re: Witango-Talk: Feature request? Dave Machin
- RE: Witango-Talk: Feature request? Robert Shubert
- Re: Witango-Talk: Feature request? Alan Wolfe
- RE: Witango-Talk: Feature request? peter
