On Wed, Sep 23, 2009 at 3:09 PM, Martin Grigorov <mcgreg...@e-card.bg>wrote:
> El mié, 23-09-2009 a las 17:21 +0800, Haulyn R. Jason escribió: > > Hi, all > > I have a WebMarkupContainer in my page, and I need to create some links > to > > this WebMarkupContainer.But I do not have markup like <a wicket:id="" > > >foo</a>, because I do not know how many links I need to create, but I do > > not know how to create links without markup. > > > > Can anyone help me? Thanks very much! > > > Use RepeatingView, ListView or something like them. > > > Sound like you want to create a bookmark kind of link e.g. <a href="#foo">Click Me!</a> will take you to <a name="foo">Blah</a> You can use a Label, put any HTML you want as the String / Model and have it rendered, just do setEscapeModelStrings(false) - Peter