From richfaces-svn-commits at lists.jboss.org Thu Jan 13 14:31:59 2011 Content-Type: multipart/mixed; boundary="===============2649483287554875022==" MIME-Version: 1.0 From: richfaces-svn-commits at lists.jboss.org To: richfaces-svn-commits at lists.jboss.org Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r21003 - in trunk: ui/output/ui/src/main/java/org/richfaces/renderkit/html and 1 other directory. Date: Thu, 13 Jan 2011 14:31:58 -0500 Message-ID: <201101131931.p0DJVwV9013829@svn01.web.mwc.hst.phx2.redhat.com> --===============2649483287554875022== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: artdaw Date: 2011-01-13 14:31:58 -0500 (Thu, 13 Jan 2011) New Revision: 21003 Modified: trunk/examples/output-demo/src/main/webapp/examples/toolbar.xhtml trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/ToolbarRen= dererBase.java Log: RF-10210: Character entity reference   is replaced with numeric "\u00a= 0" since it brakes XHTML Modified: trunk/examples/output-demo/src/main/webapp/examples/toolbar.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/examples/output-demo/src/main/webapp/examples/toolbar.xhtml 2011-= 01-13 18:01:32 UTC (rev 21002) +++ trunk/examples/output-demo/src/main/webapp/examples/toolbar.xhtml 2011-= 01-13 19:31:58 UTC (rev 21003) @@ -3,77 +3,86 @@ xmlns:ui=3D"http://java.sun.com/jsf/facelets" xmlns:f=3D"http://java.sun.com/jsf/core" xmlns:h=3D"http://java.sun.com/jsf/html" - xmlns:tb=3D"http://richfaces.org/output"> - - toolbar sample - = - - - + xmlns:tb=3D"http://richfaces.org/output" xmlns:a4j=3D"http://richfac= es.org/a4j"> + + + toolbar sample + + + + + || - = - - - link 1 Text - link 2 - - - link 3 Text - link 4 - - - - - - - - - - - - = - - - - - -
- - - - - - - - - - - - - - - - = - = -
- - - - - - - - - - - - - - - - = -
+ + + + link 1 Text + link 2 + + + link 3 Text + link 4 + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ \ No newline at end of file Modified: trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/Too= lbarRendererBase.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/ToolbarRe= ndererBase.java 2011-01-13 18:01:32 UTC (rev 21002) +++ trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/ToolbarRe= ndererBase.java 2011-01-13 19:31:58 UTC (rev 21003) @@ -244,7 +244,7 @@ = writer.startElement(HtmlConstants.TD_ELEM, component); writer.writeAttribute(HtmlConstants.CLASS_ATTRIBUTE, concatCla= sses("rf-tb-emp", itemClass), null); - writer.write(" "); + writer.writeText("\u00a0", null); writer.endElement(HtmlConstants.TD_ELEM); = for (Iterator it =3D childrenToTheRight.iterator(= ); it.hasNext();) { @@ -326,7 +326,7 @@ String itemSeparatorClass =3D "rf-tb-sep-" + separator.toS= tring().toLowerCase(); writer.startElement(HtmlConstants.DIV_ELEM, component); writer.writeAttribute(HtmlConstants.CLASS_ATTRIBUTE, itemS= eparatorClass, null); - writer.write(" "); + writer.writeText("\u00a0", null); writer.endElement(HtmlConstants.DIV_ELEM); } else { = --===============2649483287554875022==--