Sagewire Logo

Actionscript Function to Reload CFGrid

5 Message(s) by 2 Author(s) originally posted in flash and cfml


From: existdissolve Date:   Friday, August 24, 2007
I'm looking for some direction on how to use actionscript to reload a CFGRID on
an onclick event. I am currently using getURL() to call a CFC to asynchonously
update the query driving the grid, but I cannot figure out how to actually
refresh the grid itself without reloading the page.

Any help'd be tremendously appreciated.

Thanks

Joel


From: BKBK Date:   Wednesday, September 05, 2007
Find some useful information on the subject in this
http://livedocs.adobe.com/Cold Fusion/8/htmldocs/help.html?content=ajaxui_5.html.
Look for the chapter that begins with:

[i]"The following example uses a bind expression and a CFC to populate a
dynamic paged data grid...."[/i]


From: existdissolve Date:   Thursday, September 06, 2007
BKBK --

Thanks, as always, for your response.

I forgot to mention in my previous post that I am using a flash format form,
and so the AJAX goodness of CF8 (which I do not yet have, unfortunately) will
not work. Do you've any idea how to accomplish what I need with
actionscripting? Basically, I need to do exactly what the
grid.Cold Fusion.refresh function does for AJAX, but in AS.

Thanks!

Joel


From: BKBK Date:   Saturday, September 08, 2007
I do not think what you want to achieve is possible without AJAX, remoting or simply reloading the page. Cold Fusion must have a way to associate the new query with the grid.


From: existdissolve Date:   Saturday, September 08, 2007
Ok, I guess that makes sense. Thanks again.



Next Message: RLS Load Failed



Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional