| commit | 44837cbfc5dfeb19db460423e02f01f5404a3f3a | [log] [tgz] |
|---|---|---|
| author | rdcastro@google.com <rdcastro@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Mon May 02 15:12:13 2011 +0000 |
| committer | rdcastro@google.com <rdcastro@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Mon May 02 15:12:13 2011 +0000 |
| tree | 6f8e376d668056a864887daef88cf24ae33b77a6 | |
| parent | fe85429bbe8223c3cc95d84ccf49be8226d162e8 [diff] |
Fix Attachable for those poor fellows who don't have the bliss of SafeHtml enabled (yet). Review at http://gwt-code-reviews.appspot.com/1426808 Review by: rjrjr@google.com git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10119 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java b/user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java index 3846bd0..f0fd59b 100644 --- a/user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java +++ b/user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java
@@ -792,7 +792,7 @@ */ public String tokenForSafeHtmlExpression(String expression) { if (!useSafeHtmlTemplates) { - return tokenForStringExpression(expression); + return tokenForStringExpression(expression + ".asString()"); } String token = tokenator.nextToken(expression);