From jira-events at lists.jboss.org Wed Feb 6 08:58:17 2008 Content-Type: multipart/mixed; boundary="===============6068645861183242087==" MIME-Version: 1.0 From: Nick Belaevski (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Updated: (RF-2173) suggestionbox generates class attribute 2 times on return of results Date: Wed, 06 Feb 2008 08:58:17 -0500 Message-ID: <5260335.1202306297365.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 5300199.1202250136635.JavaMail.jira@cloud.prod.atl2.jboss.com --===============6068645861183242087== 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 ] Nick Belaevski updated RF-2173: ------------------------------- Fix Version/s: 3.2.0 Assignee: Nick Belaevski > 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.2.0, Future Versions, 3.1.3 > Environment: any > Reporter: Jonathan Richard > Assigned To: Nick Belaevski > 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 --===============6068645861183242087==--