From jira-events at lists.jboss.org Wed Apr 20 06:58:33 2011 Content-Type: multipart/mixed; boundary="===============6557801164974703707==" MIME-Version: 1.0 From: Adrian Meredith (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Commented: (RF-10939) a4j:ajax example breaks in IE9 based on DOCTYPE Date: Wed, 20 Apr 2011 06:58:33 -0400 Message-ID: <1875735589.41334.1303297113526.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> In-Reply-To: 195392528.38429.1303216053084.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com --===============6557801164974703707== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/RF-10939?page=3Dcom.atlassian.jira.pl= ugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12596729#com= ment-12596729 ] = Adrian Meredith commented on RF-10939: -------------------------------------- I tried moving the Doctype declaration and it crashes ie!!! shocking... > a4j:ajax example breaks in IE9 based on DOCTYPE > ----------------------------------------------- > > Key: RF-10939 > URL: https://issues.jboss.org/browse/RF-10939 > Project: RichFaces > Issue Type: Bug > Security Level: Public(Everyone can see) = > Reporter: Magnus D=C3=BCrr > > The sample below is more or less a copy of the example on richfaces showc= ase site. It works fine in IE9. > = > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > xml:lang=3D"en" lang=3D"en" > xmlns:ui=3D"http://java.sun.com/jsf/facelets" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:f=3D"http://java.sun.com/jsf/core" > xmlns:rich=3D"http://richfaces.org/rich" > xmlns:a4j=3D"http://richfaces.org/a4j"> > Test > > > > > > > > > > > = > The problem occurs when I add other components to the page. In this examp= le I have added an ajax enabled a4j:outputPanel *before* the test form: = > = > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > xml:lang=3D"en" lang=3D"en" > xmlns:ui=3D"http://java.sun.com/jsf/facelets" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:f=3D"http://java.sun.com/jsf/core" > xmlns:rich=3D"http://richfaces.org/rich" > xmlns:a4j=3D"http://richfaces.org/a4j"> > Test > = > > > > > > > > > > > = > > = > Now the code stops working in IE9, still works fine in Firefox. After som= e trial and error I have found two ways to make the example work again: = > * Move the a4j output panel below the form (have not tested if the output= panel still works) > * Remove the DOCTYPE tag, changing it to Strict doesn't work you have to = remove it completely... = -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --===============6557801164974703707==--