FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » populating a list box problem
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: populating a list box problem [message #175793 is a reply to message #171096] Wed, 26 October 2011 09:29 Go to previous messageGo to previous message
bcabangana is currently offline  bcabangana
Messages: 1
Registered: October 2011
Karma:
Junior Member
Hi

I am having a problem on populating a valuelistBox in gwt

here is the code
private ValueListBox <String> getValueListBox() {
if (valueListBox == null) {
valueListBox = new ValueListBox(IntegerRenderer.instance());
loadMenu.add("...Please Select...");
loadMenu.add("Claimant Appeals");
loadMenu.add("Legal Summons");
loadMenu.add("New Claims");
loadMenu.add("Potential Claims");
valueListBox.setValue(loadMenu.get(0));
valueListBox.setAcceptableValues(loadMenu);

The problem is on the IntegerRender line..I am new to this i have used an arraylist (loadMenu) to populate values.....
please help..i am using the mvp structure

Thanks in advanced
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New start-up seeking a programmer (vesting only!)
Next Topic: My first PHP Script...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 14:33:28 GMT 2024

Total time taken to generate the page: 0.04320 seconds