Hi
I'm trying to following the MVP implementation shown by Ray
Ryan<http://code.google.com/events/io/sessions/GoogleWebToolkitBestPractices.html>
:

class PhoneEditorPresenter {

interface Display {
 HasValue<String> getNumberField();
}

void doSave() {
 String number = getNumberField().getValue();
}
}


Everything seems OK until I have a ListBox now, the ListBox does not
implements HasValue<T>

May I know which interface (e.g. Has*) I should use to retrieve the selected
value of a ListBox?


-- 

Hez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to