>Don,
>
>OK.  On the home page of a portal users click on an icon and launch a report
>in a separate browser instance.  At the top of the report there's a link
>that launches a cfwindow that allows them to filter the report and select
>how they want it sorted.  Their choices are saved to the database when the
>form submits so they don't need to make the setting each time they launch
>the report.
>
>After saving their selections to the database I hide the window and refresh
>the report.  However although the page does refresh it brings up the
>original version, not the one reflecting the filter or sort changes they
>just saved.
>
>Here's the function that runs when the form is submitted:
>
>
>function submitmyform() {
>
>ColdFusion.Ajax.submitForm('cfformid', 'myreport.cfm'
>
>);
>
>ColdFusion.Window.hide('cfwindowname');
>
>location.reload();
>
>
>
>Rick Mason
>

Ok, Rick,  I think I see what you intend to do now.  My understanding is 
currently to reload a cfwindow to its current "space" one would need to use 
AJAXLINK, in you case, one way to make it work would be to use FORM method of 
Get instead of the usual "Post", and now you can pass the parameters via 
URLs...  Are you with me?

Another possibility, use cfajaxproxy and javascript library call and cfc to 
write new filter values to db in the background upon a js event trigger, then, 
reload this window using AJAXLINK... (imho, this approach is very powerful and 
flexible...but needs more effort...)

hih

Don





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301959
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to