Reviewers: rjrjr,
Description:
Fix Attachable for those poor fellows who don't have the bliss of
SafeHtml enabled (yet).
Please review this at http://gwt-code-reviews.appspot.com/1426808/
Affected files:
M user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java
Index: user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java
===================================================================
--- user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java (revision
10113)
+++ user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java (working
copy)
@@ -792,7 +792,7 @@
*/
public String tokenForSafeHtmlExpression(String expression) {
if (!useSafeHtmlTemplates) {
- return tokenForStringExpression(expression);
+ return tokenForStringExpression(expression + ".asString()");
}
String token = tokenator.nextToken(expression);
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors