you have to use another listview inside a listitem
Because that is what you seem to do.

so something like
<tr wicket:id="outertable">
<td wicket:id="innertable"><span wicket:id="one_suggestion"></span></td>
</tr>

and then the current listItem must add another ListView instance (called innertable)

johan


On 4/5/06, Geertjan Wielenga <[EMAIL PROTECTED]> wrote:

Hi all,

Part of my code goes like this:

                        for (int k = 0; k < allsuggestions.size(); k++) {
                            String >(String)allsuggestions.get(k);
                            listItem.add(new
MultiLineLabel("one_suggestion", onesuggestion));
                        }

So, how do I render a new listitem for each iteration of this for loop?

Currently only the first item in the iteration is rendered.

Geertjan


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to