Saturday, June 14, 2014

Re: GWT: CellBrowser isn't displayed in a composite

                <g:HTMLPanel>
                   
<c:CellBrowser defaultColumnWidth='300' ui:field='cellBrowser' />
               
</g:HTMLPanel> 


I think you don't need to wrap it in an HTMLPanel.

In your Java file:

- you want to use "200px" and "630px"
- remove the @UiFactory getCellBrowser() method OR remove "provided = true" from your @UiField and don't assign the field yourself (like you currently do in your constructor). You don't need both @UiFactory AND @UiField(provided = true), only one of them.

-- 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