Re: UIBinder - CellTable - how to specify T?
You can not specify type in UiBinder. What you should do is define celltable using UiBinder
and in java you declare your table using
@UiField(provided = true)
CellTable<MyType> cellTable;
public MyClass() {
cellTable = new CellTable<MyType>();
initWidget(uiBinder.createAndBindUi(this));
}
On Sunday, October 21, 2012 2:05:45 AM UTC+2, Magnus wrote:
Hi,--when I use a CellTable within a UIBinder specification, how can I define a type T for the CellTable?Before UIBinder, I created it like this:CellTable<MyType> = new CellTable<MyType>();With UIBinder, I get a composite widget with a CellTable somewhere in it. But how can I specify the type?Magnus
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/-/ohc5ng5dcrQJ.
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home