Re: populating a list box problem [message #175795 is a reply to message #175793] |
Wed, 26 October 2011 11:17 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) ![Go to next message Go to previous message](/forum/theme/default/images/down.png) |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 10/26/2011 5:29 AM, bcabangana(at)gmail(dot)com wrote:
> Hi
>
> I am having a problem on populating a valuelistBox in gwt
>
"I am having a problem" is not very descriptive.
> 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
>
What is your problem?
Did you ask GWT support? They know their code better than anyone else.
When having trouble with a product, generally the first place to ask
for help is in that product's support structure.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|