From jira-events at lists.jboss.org Tue Jan 13 09:25:05 2009 Content-Type: multipart/mixed; boundary="===============0575134538489355383==" MIME-Version: 1.0 From: Mikhail Vitenkov (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Closed: (RF-2977) Caption not rendered immediately after table element in rich:dataTable Date: Tue, 13 Jan 2009 09:25:05 -0500 Message-ID: <17910325.1231856705247.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 7317928.1207312894468.JavaMail.jira@cloud.prod.atl2.jboss.com --===============0575134538489355383== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/RF-2977?page=3Dcom.atlassian.jira= .plugin.system.issuetabpanels:all-tabpanel ] Mikhail Vitenkov closed RF-2977. -------------------------------- Assignee: Mikhail Vitenkov (was: Tsikhon Kuprevich) Verified at 3.3.0.GA > Caption not rendered immediately after table element in rich:dataTable > ---------------------------------------------------------------------- > > Key: RF-2977 > URL: https://jira.jboss.org/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 > Assignee: Mikhail Vitenkov > Fix For: 3.3.0 > > > According to the HTML 4.01 specification the CAPTION element is only perm= itted immediately after the TABLE start tag. When using the rich:dataTable = component together with the f:facet caption component a COLGROUP tag is ins= erted 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 get= Regions returning a List of SelectItem (containing the methods getValue and= getLabel). > This will result in HTML like this: > > > > ... >
Regions
> which is invalid HTML. I have seen this in earlier versions (pre 3.2.0) o= f RichFaces as well. -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira = --===============0575134538489355383==--