Re: SafeUri can not be used as SafeHtml??

2012-04-24 Thread Patrick Tucker
. Seems like a warning would suffice, allowing those that did it on purpose to be able to do it and those who did it on accident to fix it. Is there somethinng that can be done to allow us to do this? Maybe another class that is both a SafeHtml and SafeUri that can be used in both places

SafeUri can not be used as SafeHtml??

2012-04-23 Thread Patrick Tucker
We have a template that we are converting to using SafeHtml and SafeUri, but ran into a problem. The template looks something like this: a href={0} ...{0}/a Argument 0 is the URL, if we change the value from String to SafeUri we get the following error: [ERROR] SafeUri can only be used as

Re: SafeUri can not be used as SafeHtml??

2012-04-23 Thread Thomas Broyer
On Monday, April 23, 2012 7:25:59 PM UTC+2, Patrick Tucker wrote: We have a template that we are converting to using SafeHtml and SafeUri, but ran into a problem. The template looks something like this: a href={0} ...{0}/a Argument 0 is the URL, if we change the value from String to

Re: SafeUri can not be used as SafeHtml??

2012-04-23 Thread Patrick Tucker
Well that stinks. Seems like a warning would suffice, allowing those that did it on purpose to be able to do it and those who did it on accident to fix it. Is there somethinng that can be done to allow us to do this? Maybe another class that is both a SafeHtml and SafeUri that can be used

Re: SafeUri can not be used as SafeHtml??

2012-04-23 Thread Thomas Broyer
this? Maybe another class that is both a SafeHtml and SafeUri that can be used in both places? Well, I suppose we can bring the discussion to GWT-Contributors and see if John is OK to change it to a warning in retrospect. -- You received this message because you are subscribed to the Google Groups