GWT MVP with a table

Posted by Benju on Stack Overflow See other posts from Stack Overflow or by Benju
Published on 2009-09-22T18:50:38Z Indexed on 2010/05/26 10:21 UTC
Read the original article Hit count: 419

Filed under:
|

When working with MVP in GWT how would you work with a table? For example if you had a table of users does your view look like this?

public interface MyDisplay{

HasValue<User> users();

}

or would it be more like this?

public interface MyDisplay{

HasValue<TableRow> rows();

}

MVP makes a ton of sense until you start dealing with widgets that need to display lists of non-primitive data. Can anybody shed some light?

This mailing list archive appears to ask the same question but never reaches a solid resolution...

http://www.mail-archive.com/[email protected]/msg24546.html

© Stack Overflow or respective owner

Related posts about gwt

Related posts about mvp