Reputation:
I have a cfform
inside of a cfdiv
where people can register for my site. When the form submits, it processes everything and if there is any reason to send the user back to the registration form, a cflocation
is triggered.
It is supposed to redirect back to the cfdiv
, not a new page. That is one of the reasons the cfdiv
tag is useful. It works just fine in Internet Explorer. But in Firefox it opens the cflocation
page in the parent window instead of the cfdiv
.
Upvotes: 0
Views: 1438
Reputation:
Had a cfabort on the processing page. Took it out and now its working as expected. And yes, cflocation can be used inside a cfdiv without the parent window refreshing.
Upvotes: 1
Reputation: 32885
I don't think you can use cflocation for this.
You should cfoutput a block of <script>
that invokes this JS function: ColdFusion.navigate
See: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WS0ef8c004658c1089-6262c847120f1a3b244-7fd0.html
Upvotes: 2