Use a repeater. And, wasn't this question just asked recently? On Wed, May 4, 2011 at 7:54 PM, wmike1...@gmail.com <wmike1...@gmail.com> wrote: > Hi, > > I'm gathering information from a database that I want to display on my page. > My query to this DB could result any number of rows. I'd like to build a > panel to represent the information from a row and then just add a bunch of > panels to my page. To add a panel or component though, I need an html > element with a wicket:id attribute in the container's markup. So my question > is: if I don't know how many panels I'm going to be adding (uncertain of the > # of rows I'll get), how can I prepare the markup to have enough wicket:ids > to accommodate them? > > Or am I going about this all wrong? > Thanks, Mike > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/How-to-add-an-unspecified-number-of-components-tp3497096p3497096.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org