Skip to main content
Known Participant
July 3, 2018
Question

cfwindow, cfpod, cflayout

  • July 3, 2018
  • 2 replies
  • 1029 views

Hello All,
I have this simple code to show a pop up window using cfwindow:

<cfajaximport tags = "cfwindow">
<cfwindow initshow="true"  x="200" y="200">
this is cfwindow contents
</cfwindow>

It supposes to show a pop up window with the words say "this is cfwindow contents".
BUT I only see "this is cfwindow contents", there is no frame, no pop up window, and it gives me NO error, I think it has something to do with css.
It happens the same thing with ipod, cflayout.

It's hard to fix  the issue since it not gives me any error message
I wonder if anyone out there has the same issue
Thank you
HP
pham_mn@yahoo.com

This topic has been closed for replies.

2 replies

Community Expert
July 3, 2018

This doesn't really answer your question. But I strongly recommend you avoid using CFWINDOW etc and just use native JavaScript functionality instead. You will need to learn JavaScript to build web applications, and all these tags do is generate JavaScript for you.

That said, you might see some errors if you enable developer mode in your browser. Look for any red lines in there.

Dave Watts, Fig Leaf Software

Dave Watts, Eidolon LLC
pham_mnAuthor
Known Participant
July 3, 2018

So we should avoid using cflayout as well?

We are heavily using cflayout right now

Thank you so much for your time

Community Expert
July 3, 2018

Yeah, I would recommend avoiding all of the CF tags that generate JS UI functionality. If you're already using it, I guess it's a little late for that. But I wouldn't use any more of it.

Dave Watts, Fig Leaf Software

Dave Watts, Eidolon LLC
pham_mnAuthor
Known Participant
July 3, 2018

I am using CF Builder 2016, and CF Server 2016

Thank you