Hi Guys,

I have had to do lots of searching for this but couldn't find it.

So i have a list box which now has dummy values in it and i will list out
the problems i am facing,

1.) i am unable to get the selected value/values from this list box.
(ajaxformupdating s giving errors on ListMultipleChoice)

2.) Also i am unable to populate my listbox with images+text. (I need to get
images from the images folder and text from database.) But for now i am
content with dummy text and image.

Heres my code,

.java
List choices = new ArrayList();
                    choices.add("A");
                    choices.add("B");
                    choices.add("C");
                    choices.add("D");
                   
                    ListMultipleChoice lc = new
ListMultipleChoice("myMultiListChoice", new PropertyModel(model,
"foobarList"), choices);
                    add(lc);
 

.html

<form>
    <select wicket:id="myMultiListChoice" size="5">
        <option>option1</option>
        <option>option2</option>
        <option>option3</option>
        <option>option4</option>
        <option>option5</option>
               </select> 
               </form>       


Kindly help me out in this regard... 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Unable-to-Get-images-and-text-in-listmultiplechoice-box-tp3517149p3517149.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to