From jira-events at lists.jboss.org Sat Dec 6 13:21:37 2008 Content-Type: multipart/mixed; boundary="===============6217715023378768743==" MIME-Version: 1.0 From: Nick Belaevski (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Resolved: (RF-2977) Caption not rendered immediately after table element in rich:dataTable Date: Sat, 06 Dec 2008 13:21:37 -0500 Message-ID: <30871210.1228587697144.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 7317928.1207312894468.JavaMail.jira@cloud.prod.atl2.jboss.com --===============6217715023378768743== 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 ] Nick Belaevski resolved RF-2977. -------------------------------- Fix Version/s: 3.3.0 Resolution: Done Assignee: Tsikhon Kuprevich (was: Nick Belaevski) > 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: Tsikhon Kuprevich > 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 = --===============6217715023378768743==--