The only way to do this is by having the same name for the cfwindow, and
using Javascript to create and maintain the window.

For example, using the name of the cfwindow you then search for its
existence via the ColdFusion Window.getWindowObject() API then if it is
found close the window and reopen the window using your new information to
be displayed. Of course if it is not found then you don't need to close the
window.

Hope that helps.

It might also be helpful if you are also running firefox with firebug and
use the console.log feature of firebug. By dumping the API like this

Console.log(ColdFusion) 

you can see that there is a list of API features available to you. Once you
then get the handler of an object like window, grid etc. You can then head
on over to www.extjs.com, and then begin looking at all the nifty API that
is available to that object and what you can potentially do.

Regards,
Andrew Scott



-----Original Message-----
From: Paul Alkema [mailto:paulalkemadesi...@gmail.com] 
Sent: Wednesday, 23 June 2010 12:11 AM
To: cf-talk
Subject: Cfwindow


Hi,

Does anyone know if there is any possible way to close all open cfwindows
when a new cfwindow is opened? I would like to have only one cfwindow open
at a time.

 

Regards,

Paul 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335281
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to