From jira-events at lists.jboss.org Fri Apr 4 08:41:35 2008 Content-Type: multipart/mixed; boundary="===============4891272945763912555==" MIME-Version: 1.0 From: =?utf-8?q?Peter_Haldb=C3=A6k_=28JIRA=29_=3Cjira-events_at_lists=2Ejboss?= =?utf-8?q?=2Eorg=3E?= To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Created: (RF-2977) Caption not rendered immediately after table element in rich:dataTable Date: Fri, 04 Apr 2008 08:41:34 -0400 Message-ID: <7317928.1207312894468.JavaMail.jira@cloud.prod.atl2.jboss.com> --===============4891272945763912555== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Caption not rendered immediately after table element in rich:dataTable ---------------------------------------------------------------------- Key: RF-2977 URL: http://jira.jboss.com/jira/browse/RF-2977 Project: RichFaces Issue Type: Bug Affects Versions: 3.2.0 Environment: OS: Windows XP Platform: JBoss AS 4.2.1.GA, Sun JDK 1.6.0_02 Reporter: Peter Haldb=C3=A6k According to the HTML 4.01 specification the CAPTION element is only permit= ted immediately after the TABLE start tag. When using the rich:dataTable co= mponent together with the facet:caption component a COLGROUP tag is inserte= d before the CAPTION tag making the html invalid. Consider the following snippet: Regions Value Label Where the parameter 'regions' is a seam component containing a method getRe= gions returning a List of SelectItem (containing the methods getValue and g= etLabel). This will result in HTML like this: ...
Regions
which is invalid HTML. I have seen this in earlier versions (pre 3.2.0) of = RichFaces as well. -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://jira.jboss.com/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira = --===============4891272945763912555==--