Cfwindow caching
Has anyone experienced the same issue I have had? I have to create a time stamp to keep the window from caching and then remove the window from cache every time. There is nothing in CFdocs that says you have to do this. However, if you do not then the window object caches the contents and opening and closing different windows become impossible. function CatWindow(val) { ColdFusion.Window.create('Category', val,'cats.cfm?id=' + val, {x:100,y:100,height:350,width:350,modal:false,closable:true, draggable:true,resizable:false,center:true,initshow:true}) } function close_window(val) { ColdFusion.Window.getWindowObject(val).destroy(true); ColdFusion.objectCache[val] = null; } ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318559 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cfwindow caching
try adding refreshOnShow:true to your cfwindow's parameters ? Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Tony Bentley wrote: Has anyone experienced the same issue I have had? I have to create a time stamp to keep the window from caching and then remove the window from cache every time. There is nothing in CFdocs that says you have to do this. However, if you do not then the window object caches the contents and opening and closing different windows become impossible. function CatWindow(val) { ColdFusion.Window.create('Category', val,'cats.cfm?id=' + val, {x:100,y:100,height:350,width:350,modal:false,closable:true, draggable:true,resizable:false,center:true,initshow:true}) } function close_window(val) { ColdFusion.Window.getWindowObject(val).destroy(true); ColdFusion.objectCache[val] = null; } ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318579 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4