Symptom
This was a very strange problem to encounter. I had a commandLink that seemed to work fine in IE6. In Firefox 2, however, the page I linked to was rendered without any styles or ajax functionality. Then, in IE7, the link did not even navigate to the page. It did nothing.
Problem
Using Firebug, I saw that there were multiple errors concerning illegal characters. This provided zero insight. IE7 just gave me an object undefined error in some obscure place. IE6 actually gave me an error as well, even though it immediately went away when the page finished rendering. Eventually it dawned on me. I was using an a4j:commandLink even though I was navigating to another page. Dumb.
Solution
I changed my a4j:commandLink's to h:commandLink's. Apparently returning a string that results in a navigation-rule produces unexpected results when applied to an a4j:commandLink.
No comments:
Post a Comment