Exactly-

 

You can use combinations of <@PURGERESULTS> and <@RESULTS> (or <@ASSIGN request$my_html_block <@RESULTS>>) at various places to do what you want. Using a TCF call (as David mentioned) is also very helpful to achieve this. The way Witango server works might not allow for the feature request to work, the function of assigning output to a variable is a little tricky. For example, consider what you are doing in conjunction with what the PUSH attribute does. Wi/Tango (going way back) has always been interested in getting information to back to the web server asap, so I’m not certain what else can be done.

 

Robert

 


From: Dave Machin [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 10, 2005 2:40 PM
To: [email protected]
Subject: Re: Witango-Talk: Feature request?

 

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
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to