Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

BUG File upload broken in IE9

638522Mar 31 2011 — edited Apr 4 2011
Hi guys,
I know the browser is not supported yet, but I just make my good action of the day by reporting a bug.

You can see that the file upload is broken if you go to the hosted demo here : http://jdevadf.oracle.com/adf-richclient-demo/faces/components/inputFile.jspx.
Try the partial postback in IE9 and you'll see it's broken (the page isn't supposed to reload).

I don't have an Oracle Support account and don't know if the bug had been previously reported, but here is the technical part about it:
The client JS function named
AdfIFrameDataTransferRequestEvent.prototype.isRichResponse
shouldn't use the XMLDocument property for IE version greater than 8.
It seems like it might get tricky to get the '<?Adf-Partial-Request?>' header, so for the moment I always return true, which shouldn't be that harmful (xml is old tech btw :) ).

Also, another JS function (and maybe a lot more in fact) doesn't behave correctly
AdfIEAgent.prototype.getTextContent
The workaround is to rollback to the 'textContent' property (w3c standard) if 'innerText' nor 'text' are defined for the node object.

Again, IE is playing hard with us web developers...
Regards,
JP
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 2 2011
Added on Mar 31 2011
5 comments
2,394 views