From jira-events at lists.jboss.org Thu Mar 20 05:31:51 2008 Content-Type: multipart/mixed; boundary="===============7320662911859342594==" MIME-Version: 1.0 From: Ilya Shaikovsky (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Reopened: (RF-2173) suggestionbox generates class attribute 2 times on return of results Date: Thu, 20 Mar 2008 05:31:51 -0400 Message-ID: <10588482.1206005511520.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 5300199.1202250136635.JavaMail.jira@cloud.prod.atl2.jboss.com --===============7320662911859342594== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ http://jira.jboss.com/jira/browse/RF-2173?page=3Dall ] Ilya Shaikovsky reopened RF-2173: --------------------------------- = Max, please merge this with 3.1.x Branch. > suggestionbox generates class attribute 2 times on return of results > -------------------------------------------------------------------- > > Key: RF-2173 > URL: http://jira.jboss.com/jira/browse/RF-2173 > Project: RichFaces > Issue Type: Bug > Affects Versions: 3.1.3, 3.2.0, Future Versions > Environment: any > Reporter: Jonathan Richard > Assigned To: Maksim Kaszynski > Priority: Critical > Fix For: 3.2.0 > > > The suggestion box generates 2 class=3D"" attributes on the tag i= t returns. = > The table.jspx template file uses the following code to generate it's def= ault CSS classe and styleClass attribute: >
> ... > > ... >
> the result of this will be: > > but it should be using the same technique as all other rich faces tags to= avoid this: >
> and add the property definition in the suggestionbox.xml config file: > > styleClass > java.lang.String > Corresponds to the HTML class attribute > > --- > This does not cause any problems since the second generated class attribu= te is detected by the tidy parser and the latter merge the both class tag c= ontent. If you disable the FastHtmlParser, a4j won't render the suggestionb= ox returned content since it is not well formed html.... -- = 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 =20 --===============7320662911859342594==--