Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #3578
| Message-ID | <4769638.ypaU67uLZW@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2011-10-27 00:28 +0200 |
| Subject | Re: populating a list box problem |
| Newsgroups | comp.lang.php |
| References | <1syoh38fxt8z.dlg@evanplatt.sux> <13362279.321.1319621356807.JavaMail.geo-discussion-forums@prlk36> |
| Followup-To | comp.lang.php |
Followups directed to: comp.lang.php
bcabangana@gmail.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@news.demon.co.uk>
Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll 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