I ran in to an interesting issue that I at first thought was a browser issue. I was using ColdFusion.getElementValue to get the value from a hidden form field. The form in question was inside a CFWINDOW created using ColdFusion.window.create.
Lets assume the value of the hidden field is "123". When the window opens and I get the value the return is accurate. However, if I close the window then open it again the value retrieved is not accurate. Subsequent close and opens of the window make the problem even worse. Every close and open of the window appends the value to the previous to make a delimited list of values. So, if the window was closed and opened 3 times I would end up with "123,123,123" as the return in FireFox. However, do the same in IE and I get "123,,".
Now, if I get the value using document.getElementById('hiddenfield').value the return is always accurate. This tells me it is not the browser but something with CF's javascript function to get the value. I have not verified this but I am quite certain it is some form of caching going on inside the browser. It seems strange to me as to why this type of thing would be cached. It makes it very hard to use in a dynamic enviornment.
--Dave
#1 by Rakshith on 9/13/07 - 10:13 PM
Thanks for finding this issue. I have logged a bug for this and will fix the issue soon.
Thanks,
Rakshith
Adobe ColdFusion Team
#2 by Vamsee on 9/14/07 - 3:21 AM
I am unable to reproduce this behavior (using CF8 final) using the exact scenario you outlined. Could you please attach/send a reproducible case?
#3 by Vamsee on 9/24/07 - 1:34 AM
Could you please send a repro case for this so that we can follow it up? The bug number for the bug logged against this issue is 70478.
Thanks,
Vamsee
Adobe ColdFusion Team
#4 by Dave Ferguson on 9/25/07 - 9:28 AM
--Dave
#5 by Brandon Wittwer on 10/15/07 - 6:47 AM
Its become a heavy roadblock in development of our CRM
-Hopefully
#6 by Dave Ferguson on 10/17/07 - 6:53 AM
http://blog.dkferguson.com/index.cfm/2007/10/17/Co...
--Dave
#7 by Oyun on 7/7/08 - 12:37 AM
#8 by Estetik on 11/16/08 - 8:21 AM
#9 by Gogus Estetigi on 11/22/08 - 8:24 PM