G'day
One can use ColdFusion.Window.getWindowObject(name) to get
the object
relating to a <cfwindow>, provided one knows the name.
Fair enough.
What I'm trying to work out is from inside a
<cfwindow>, is there a
built-in way of saying (something like)
ColdFusion.Window.getCurrentWindow.
I can't see anything exposed by <cfwindow> that
actually identifies the
name or the object-itself of the current window to itself (if
that makes
sense). I can pass the window's name into it on its source
URL, but I
would have thought the window already know who it is, so I
should just be
able to ask. I know I can extract the info by hacking about
in the DOM,
but I would have thought there'd be a simpler way than
that..?
Cheers for any thoughts.
--
Adam