Revision: 9028
Author: [email protected]
Date: Mon Oct 11 14:46:06 2010
Log: Working around a bug in the xerces SAX parser used by SafeHtml
templates. When using Java 1.5, the parser does not parse the Template used
by CellList correctly. Adding a space anywhere fixes the problem. We don't
see the problem in any of the other templates.
Review at http://gwt-code-reviews.appspot.com/978801
Review by: [email protected]
http://code.google.com/p/google-web-toolkit/source/detail?r=9028
Modified:
/trunk/user/src/com/google/gwt/user/cellview/client/CellList.java
=======================================
--- /trunk/user/src/com/google/gwt/user/cellview/client/CellList.java Wed
Oct 6 11:53:24 2010
+++ /trunk/user/src/com/google/gwt/user/cellview/client/CellList.java Mon
Oct 11 14:46:06 2010
@@ -115,7 +115,7 @@
}
interface Template extends SafeHtmlTemplates {
- @Template("<div onclick=\"\" __idx=\"{0}\" class=\"{1}\"
style=\"outline:none;\">{2}</div>")
+ @Template("<div onclick=\"\" __idx=\"{0}\" class=\"{1}\"
style=\"outline:none;\" >{2}</div>")
SafeHtml div(int idx, String classes, SafeHtml cellContents);
@Template("<div onclick=\"\" __idx=\"{0}\" class=\"{1}\"
style=\"outline:none;\" tabindex=\"{2}\">{3}</div>")
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors