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 #175796 is a reply to message #175793] Wed, 26 October 2011 22:28 Go to previous message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma:
Senior Member
bcabangana(at)gmail(dot)com wrote:

> 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

Admittedly I do not know much about GWT. But I do know that is *Java*-based,
that the code above looks like *Java* code, that it does not look anything
like (good) PHP code, and that by contrast this is a newsgroup where *PHP*
is on-topic.


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7(at)news(dot)demon(dot)co(dot)uk>
[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: Wed Nov 27 15:37:19 GMT 2024

Total time taken to generate the page: 0.04132 seconds