Hi,
Could anyone give an explanation?
Thanks
Magnus
-- I still have a question on that CellList example: I wonder where the CellList is created.
It seems that it is defined in the UIBinder code. There is a class ShowMorePagerPanel, which seems to hold the CellList. However this class is included twice in the UIBinder.
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"><ui:UiBinderxmlns:ui="urn:ui:com.google.gwt.uibinder"xmlns:g="urn:import:com.google.gwt.user.client.ui"xmlns:c='urn:import:com.google.gwt.user.cellview.client'xmlns:s="urn:import:mrs.client.mod.lecture.sample"><ui:style>.scrollable {height: 400px;width: 250px;border: 1px solid #ccc;text-align: left;}.contactFormCell {padding-left: 20px;}</ui:style><g:HTMLPanel><table><tr><tdvalign='top'align='center'><s:ShowMorePagerPaneladdStyleNames='{style.scrollable}'ui:field='pagerPanel' /><s:RangeLabelPagerui:field='rangeLabelPager' /></td><tdclass='{style.contactFormCell}'valign='top'align='center'><s:ContactInfoFormui:field='contactForm' /><br /><g:Buttonui:field='generateButton'><ui:msgkey='cwCellListGenerateButton'>Generate 50 Contacts</ui:msg></g:Button></td></tr><tr><td align='center'><s:ShowMorePagerPanel ui:field='pager' /></td></tr></table></g:HTMLPanel></ui:UiBinder>
I don't understand why this class is included twice. The second instance with an ui:field called "pager" is never referenced in the corresponding Java file.
On the other hand, I did not find the CellList anywhere else, so it must be included in ShowMorePagerPanel.
Could anyone give an explanation?
Thanks
Magnus
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