Sunday, August 5, 2012

UiObject not supported in UiBinder's declarative XML ?

The GWT plugin generates the type UiObject for HTML only UiBinder, However this class cannot be used in other widgets ui.xml
That is, for something like this:

<g:HTMLPanel>
<app:MyUiObjectWidget />
</g:HTMLPanel>

At compile time GWT says : [ERROR] Not allowed in an HTML context Element <app:MyUiObjectWidget>.

Can anyone help ?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/pNrKtI1SHhEJ.
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