Thanks. I managed with a span for horizontal flow and div for vertical flow. With a nested Repeating view, i am able to generate any my interfaces dynamically.
Regards. On Thu, Jan 28, 2010 at 7:06 PM, Riyad Kalla <[email protected]> wrote: > Josh, > > Just what Tor said -- repeaters will just repeat whatever markup you feed > it > over and over again doing substitution on each one according to the backing > components. So just make sure you are repeating an element that flows right > to left -- a <td> or <span> -- probably a <span> is what you want (or heck, > even LI's that are styled like a menu to flow left to right would work, > just > takes more CSS). Don't use <divs> because they are block level elements and > won't flow the way (l > r) you want them to. > > Best, > Riyad > > On Thu, Jan 28, 2010 at 3:06 AM, Wilhelmsen Tor Iver <[email protected] > >wrote: > > > > How do you make repeating view to repeat the items horizontally? The > > > number > > > of items is not known at the time of creating the markup. > > > > Repeaters do not care about horizontal vs. vertical; it all comes down to > > the markup. > > > > E.g. you can have a ListView which generates a sequence of table cells: > > > > <tr><td wicket:id="myList"><span wicket:id="subelement">Subelement > > here</span></td></tr> > > > > where you have a new ListView<Foo>("myList", ...) > > > > - Tor Iver > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > >
