Hi, I think you can override RepeatingView's org.apache.wicket.markup.repeater.AbstractRepeater#renderChild(): {
super.renderChild(component); getResponse().write("<br/>"); } On Fri, Feb 24, 2012 at 4:24 AM, Dale Ogilvie <dale_ogil...@trimble.com> wrote: > Hi, > > > > From the docs: > > > > Java: > > > > RepeatingView view = new RepeatingView("repeater"); > > view.add(new Label(view.newChildId(), "hello")); > > view.add(new Label(view.newChildId(), "goodbye")); > > view.add(new Label(view.newChildId(), "good morning")); > > add(view); > > > > Markup: > > > > <ul> > > <li wicket:id="repeater"></li> > > </ul> > > > > Yields: > > > > <ul> > > <li>hello</li><li>goodbye</li><li>good morning</li> > > </ul> > > > > I want to have a new line after each repeating element. The generated > markup looks pretty messy with one massive long line making up all the > repeated elements. > > > > Desired: > > > > <ul> > > <li>hello</li> > > <li>goodbye</li> > > <li>good morning</li> > > </ul> > > > > How can I achieve this? > > > > Thanks! > > > > Dale > > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org