Groups | Blog | Home
all groups > coldfusion flash integration > august 2007 >

coldfusion flash integration : Actionscript Function to Reload CFGrid


existdissolve
8/24/2007 7:01:15 PM
I'm looking for some guidance 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 would be tremendously appreciated.

Thanks

Joel
BKBK
9/5/2007 7:17:52 PM
Find some useful information on the subject in this
http://livedocs.adobe.com/coldfusion/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]


existdissolve
9/6/2007 2:18:57 PM
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 don't yet have, unfortunately) will
not work. Do you have any idea how to accomplish what I need with
actionscripting? Basically, I need to do exactly what the
grid.Coldfusion.refresh function does for AJAX, but in AS.

Thanks!

Joel
BKBK
9/8/2007 12:00:00 AM
I don't think what you want to achieve is possible without AJAX, remoting or simply reloading the page. Coldfusion must have a way to associate the new query with the grid.



existdissolve
9/8/2007 12:00:00 AM
AddThis Social Bookmark Button