Saturday, December 20, 2014

Re: com.google.gwt.safehtml.shared.SafeHtml' must be a class

Maybe you have not pasted it but you did not provide a method parameter on the render() method for

<ui:with field='starImage' type='com.google.gwt.safehtml.shared.SafeHtml'/>

Without such a method parameter GWT will probably try to call GWT.create(SafeHtml.class) to get an instance for the <ui:with> field, which fails because there are no replace-with/generate-with rules for the SafeHtml interface in GWT.


-- J.

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment