Tuesday, August 31, 2010

what is the appropriate MVP way of doing this?

Hi,

If I have a presenter that needs to populate a view that contains a
FlowPanel which a list of custom widgets that contain some text and a
hyperlink can anyone help me understand the best way of properly
interfacing this out in the view?

For example:

public class MyPresenter {
public interface View {
// what interface method should I have to deal with a list of
composite elements?
}
}

I'm thinking I need to make a new interface like HasLinkAndText and
something like that but even with that I still need to deal with a
list of these interface types. If this question makes sense, I'd
appreciate some help with this. Thanks.

Joe

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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