firefox 11 and richfaces 3.1.5.GA/jsf 1.1.11 html injection
James H Cooper
posted 4 years ago
So we have a jsf/myfaces + rf app that works fine with FF 10. But FF 11 came out this week and we saw an issue with html injection from a4j tags. If we have a simple facelet page, and add just a single a4j component, firefox 11 will render TWO head and body tags (one pair of head and body tags are just empty - and they are rendered in somewhat random order, sometimes the empty body tag is after our page content, sometimes before).
This throws off a lot of our complex css and jquery logic on the client side (we have a css/js developer who is playing around with some hacky ways around it but that's not ideal). Are other people seeing this or have any idea of a workaround so a4j tags do not auto-inject extra head/body tags?
I've heard that jsf2/richfaces 4 does not have this issue but upgrading would take a lot of time and effort at this point so wanted to see if there were any other options (and I guess also to confirm it is indeed the case that rf4 doesn't have this issue with FF 11 if we do have to end up upgrading). Thanks!