Why don't you just make a .tcf file that does all the work of building the html, specify the return value to be the results html, then reference the object and call the method, the method results are automatically stored to whatever variable you tell them to be stored to.
This IS exactly what you are asking for. p. > 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> > http://www.witango.com/developer/maillist.taf > > Bill > > ________________________________________________________________________ > TO UNSUBSCRIBE: Go to <http://www.witango.com/developer/maillist.taf> > 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
