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
On Mon, Mar 24, 2008 at 5:00 PM, Don L <[EMAIL PROTECTED]> wrote:
> >I have a report that when called pops up a separate instance of the
> >browser. I have a link on that report that calls a cfwindow containing a
> >cfform that lets you change filters and sort order on the report.
> >
> >In the past I have successfully used location.refresh() to refresh the
> page
> >reflecting the changes made but it's not working correctly. Oh it
> refreshes
> >the report page after the form gets submitted but it's giving me the old
> >version of the page. I've tried using meta tags so that it doesn't cache
> >the page, but they seem to have no affect.
> >
> >Can anyone help me out?
> >
> >
> >Rick Mason
>
> Can you re-state this problem? It does not seem to be very clear to me.
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:301949
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4