Highlighted

Replacing cfwindow?

Community Beginner ,
May 27, 2019

Copy link to clipboard

Copied

I've been using CFwindow for years and find it very old fashioned.

Have to use this code to open a window ...

<cfwindow width="#srw#" height="700" bodystyle="overflow:auto"

name="Alerts" title="Alerts" modal="True"

closable="true" draggable="true" resizable="true"  initshow="false"

/>

then trigger it with

ColdFusion.navigate('/members/edit/edit.cfm','MemberProfileEdit');

rePositionWindow('MemberProfileEdit');

ColdFusion.Window.show('MemberProfileEdit');

ColdFusion.Window.hide('pRC')

I am also told by another developer that this usage is archaic and inefficient, in that the cfwindow line actually opens the window on initial load.

Also having problems getting a cfwindow to "find" javascript that is declared outside of it.

What in jquery can one use that is today's standards?

TOPICS
Getting started

Views

347

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Replacing cfwindow?

Community Beginner ,
May 27, 2019

Copy link to clipboard

Copied

I've been using CFwindow for years and find it very old fashioned.

Have to use this code to open a window ...

<cfwindow width="#srw#" height="700" bodystyle="overflow:auto"

name="Alerts" title="Alerts" modal="True"

closable="true" draggable="true" resizable="true"  initshow="false"

/>

then trigger it with

ColdFusion.navigate('/members/edit/edit.cfm','MemberProfileEdit');

rePositionWindow('MemberProfileEdit');

ColdFusion.Window.show('MemberProfileEdit');

ColdFusion.Window.hide('pRC')

I am also told by another developer that this usage is archaic and inefficient, in that the cfwindow line actually opens the window on initial load.

Also having problems getting a cfwindow to "find" javascript that is declared outside of it.

What in jquery can one use that is today's standards?

TOPICS
Getting started

Views

348

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 27, 2019 0
BKBK LATEST
Adobe Community Professional ,
Jun 01, 2019

Copy link to clipboard

Copied

Easy. Just google on how to create a popup in jQuery. See, for example, the alternative Raymond Camden suggests.

Oh, the other developer was right. Cfwindow is among the ColdFusion UI tags that have been phased out.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 01, 2019 0