- Login Management Custom Tag occurs in middle of page, between begin and end body tags.
- Login Management Custom Tag launches login cfwindow, navigates window to login form.
- End of page winds things down, includes closing body tag.
So, lots of searching, and I found this helpful post:
and additionally this helpful post:
So, I tried moving my custom tag to the end of the page, outside of the body tag, and that worked great. From what I can tell, the cfwindow, or maybe the ColdFusion.navigate was trying to add elements to the body of the page, before the body had closed.
Whether or not the reason provided above is exactly correct, it makes some sense. After all, our new, ajaxy websites launch the cfwindow from within a container (usually cfdiv), meaning that the main-page's body tag has closed before the cfwindow ever tries to load.
In any case, whether my diagnosis is right or wrong, the medicine worked. This one was a tricky one, so I thought that I would share it with the world.