From jira-events at lists.jboss.org Tue Feb 9 15:31:51 2010 Content-Type: multipart/mixed; boundary="===============2994349931058758555==" MIME-Version: 1.0 From: Dmytro Lisnichenko (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: Tue, 09 Feb 2010 15:31:51 -0500 Message-ID: <1491165282.1265747511282.JavaMail.jboss@jira01.app.mwc.hst.phx2.redhat.com> In-Reply-To: 5300199.1202250136635.JavaMail.jira@cloud.prod.atl2.jboss.com --===============2994349931058758555== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/RF-2173?page=3Dcom.atlassian.jira= .plugin.system.issuetabpanels:all-tabpanel ] Dmytro Lisnichenko reopened RF-2173: ------------------------------------ > suggestionbox generates class attribute 2 times on return of results > -------------------------------------------------------------------- > > Key: RF-2173 > URL: https://jira.jboss.org/jira/browse/RF-2173 > Project: RichFaces > Issue Type: Bug > Security Level: Public(Everyone can see) = > Affects Versions: 3.1.0, 3.2.0 > Environment: any > Reporter: Jonathan Richard > Assignee: Tsikhon Kuprevich > Priority: Critical > Fix For: 3.1.5, 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= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============2994349931058758555==--