Ray added the warning to encourage developers to try the new SafeHtml functionality in their apps. Just set the property to true and presto! your code will now generate SafeHtml under the hood.
-- To your point, we have not documented this new feature very well. I will make sure that the UiBinder page is updated to explain the new functionality.
Thanks,
Stephanie
Stephanie
On Tue, May 3, 2011 at 12:00 PM, Ryan Sims <rwsims@gmail.com> wrote:
On Tue, May 3, 2011 at 11:31 AM, Thomas Broyer <t.broyer@gmail.com> wrote:Interesting - I found the commit here
>
>
> On Tuesday, May 3, 2011 3:34:42 PM UTC+2, decitrig wrote:
>>
>> After upgrading to 2.3.0, I was getting a warning about
>> UiBinder.useSafeHtmlTemplates being false. I couldn't find any documentation
>> on this, but looking through various search results eventually led me to try
>> adding
>> <set-configuration-property name="UiBinder.useSafeHtmlTemplates"
>> value="true" />
>>
>> to the .gwt.xml file. Thought I would post here in case others were
>> curious - is this documented somewhere that I missed?
>
> I don't know why GWT is issuing a warning. "use SafeHtmlTemplates" in
> UiBinder is a rewrite of UiBinder's generated code (based on
> SafeHtmlTemplates rather than String concats) but it's still being worked on
> AFAIK; and was disabled in 2.3 because it was "not ready for prime time".
https://groups.google.com/d/topic/google-web-toolkit-contributors/OoxT5AqiVx4/discussion
This seems to be where the warning is coming from, it's the same text
I was seeing:
http://code.google.com/p/google-web-toolkit/source/browse/releases/2.3/user/src/com/google/gwt/uibinder/rebind/UiBinderGenerator.java
>> (For that matter, set-configuration-property doesn't seem to have any
>> documentation either?)
>
> It's partly documented
> in http://code.google.com/p/google-web-toolkit/wiki/MultiValuedConfigProperties
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment