Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #3577

Re: populating a list box problem

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: populating a list box problem
Date 2011-10-26 07:17 -0400
Organization A noiseless patient Spider
Message-ID <j88q8a$c8$1@dont-email.me> (permalink)
References <1syoh38fxt8z.dlg@evanplatt.sux> <13362279.321.1319621356807.JavaMail.geo-discussion-forums@prlk36>

Show all headers | View raw


On 10/26/2011 5:29 AM, bcabangana@gmail.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@attglobal.net
==================

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: populating a list box problem bcabangana@gmail.com - 2011-10-26 02:29 -0700
  Re: populating a list box problem Jerry Stuckle <jstucklex@attglobal.net> - 2011-10-26 07:17 -0400
  Re: populating a list box problem Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-10-27 00:28 +0200

csiph-web