Thanks for the reply Thomas.

You're right, working with Anchor widgets rather than raw anchor tags does 
not throw the warning as shown below.

<ui:with field='extUrl' type='com.example.client.resources.ExternalUrls' />
...<g:Anchor target="_blank" href="{extUrl.exampleFacebookPage}">Follow us on 
Facebook!</g:Anchor>

​

@DefaultLocale("en_US")public interface ExternalUrls extends Messages {

    @DefaultMessage("http://foocom";)
    String exampleFacebookPage(String subTitle);    
}

​

Alas, I've got items inside anchor tags that cannot be wrapped by Anchor 
widgets, so for now I'll just do the manual conversion with the additional 
boilerplate, which is too bad, because UiBinder is a beautiful thing. :)


Sincerely,
Joseph

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to