Questions tagged [cfwindow]

Questions regarding the `cfwindow` tag introduced in ColdFusion 8.

The cfwindow tag allows you to "[Create] a pop-up window in the browser. Does not create a separate browser pop-up instance".

The window is generated through ExtJS, and can contain preconfigured content from the parent HTML, or it can make AJAX requests to a separate process to get the content. The possibilities are pretty much endless with cfwindow. However, there are some peculiarities around how JavaScript/CSS are processed inside the window itself that cause most of the "problems" with cfwindow.

You can learn more about at the ColdFusion Help Docs. There's a separate section specifically about how to use the cfwindow popups and how to manually manipulate them with built in JavaScript functions.

15 questions
4
votes
1 answer

CFWINDOW - Form submit in CF to stay inside CFWindow

I have a page with this basic process: Click checkboxes next to forms you want to download Click submit CFWindow pops up to collect some basic info Click submit to download forms while staying in the window that was opened by CFWindow When you…
Adam
  • 51
  • 6
1
vote
2 answers

Reload cfwindow after submit

I am using javascript to control the creation of a cfwindow object in ColdFusion. The cfwindow is attached to a form that allows users to choose a signle or multiple records and assign or unassign them to a single record. Most forms in cfwindow…
vasquezmi
  • 41
  • 2
  • 5
1
vote
2 answers

Closing CfWindow doesn't stop playing audio file

I am writing below code under cfwindow If html5 is not supported in browser, I am trying to play…
Deepak Yadav
  • 1,724
  • 3
  • 23
  • 38
1
vote
0 answers

Cfwindow destroys page

I have an issue with cfwindow. I have a search page and each result gets it's own cfwindow. Well when I open any of these cfwindows it takes the background image I have and puts it on top of the content (even if modal is set to true or false) and…
NCX001
  • 117
  • 2
  • 14
1
vote
0 answers

How can CFWindows be printed

We have begun using CFWindows extensively on our website, ever since our upgrade to ColdFusion 9. Today one of our users pointed out that they cannot print a page with an active CFWindow. The CFWindow prints out transparent with the background…
Nicholas
  • 1,974
  • 4
  • 20
  • 46
1
vote
1 answer

on Closing cfwindow reload parent page

I'm working on a Coldfusion application that lists employees. Whenever I click on "edit profile" a is opened which can be edited and saved to the database. After saving, when the user closes the window I want the parent page to reload. I…
uvk
  • 43
  • 7
0
votes
1 answer

Update cfselect without form submition

I have a cfselect which is binded to a query using ajax proxy. I do a update and addition of new values corresponding to the cfselect in a cfwindow of mine I want the user to get always the latest and updated list in the cfselect. Is there a…
Arasu
  • 132
  • 9
0
votes
1 answer

Refresh cfwindow content

I have a CFWINDOW which displays multiple drop downs that are binded to respective data fetch methods inside a cfc. However the content pulled by these methods are being updated and created simultaneosly in different page. I want the chae to be…
Yoosaf Abdulla
  • 3,722
  • 4
  • 31
  • 34
0
votes
1 answer

Javascript Generated CFWindow Not Centering In Coldfusion

I am trying to use a Coldfusion javascript function to create a cfwindow and center it. I've followed documentation/tutorials to a T and I've tried this in CF8 and CF9 but I can't get it to center. What am I doing wrong?
timsayshey
  • 211
  • 1
  • 2
  • 14
0
votes
0 answers

cfwindow and innerhtml issues

trying to run a block of javascript that includes an innerhtml update to a inside a cfwindow popup window after the html but the innerhtml line errors. if i replace the innerhtml with an alert line - the alertbox shows just fine so the…
Torsten
  • 29
  • 3
0
votes
1 answer

Dynamically resizing CFWINDOW to fit content

Am currently working on a site that uses a lot of cfwindow objects and I was wondering if anyone knows of a way to dynamically resize the window so that all the content fits in without the need for scroll bars. I have tried using the…
Ryan French
  • 1,245
  • 3
  • 19
  • 34
0
votes
1 answer

Check if I'm inside a cfwindow

I have an eror page on my site that get called whenever there is an error, sometimes from within a cfwindow and then I don't want to show the header and footer. There are numerous cfwindows that I have that could generate this error ( working on…
R. Mo
  • 185
  • 9
0
votes
1 answer

cfwindow pop on long scrolling parent page

I am attempting to popup a cfwindow in the center (or near where I click the mouse) of a very long list of names. I have no problems getting the window to popup the first time in the middle of where ever I have scrolled to but after closing/hiding…
Torsten
  • 29
  • 3
0
votes
1 answer

Storing a cfwindow as a coldfusion module

I'm a coldfusion newbie. I have a cfwindow that performs various tasks for me with a form that rests inside it. All that works well, except now I want to add the cfwindow to many pages, and I'd like to do so with some kind of module that can reside…
Lou
  • 918
  • 3
  • 16
  • 29
-1
votes
1 answer

display google map in cfwindow

I would like to display a google map in a cfwindow. I created a cfwindow and set the source to the url which contains my google map. The html form beneath my map displays, but the actual map doesn't display. Why is this happening and what can I do…
trs
  • 2,454
  • 13
  • 42
  • 61