Hi, Peter, happy to meet you here. Label, Sounds good, but How can I get the html String generated by Link class with onClicked method override?
On Wed, Sep 23, 2009 at 5:45 PM, Peter Thomas <ptrtho...@gmail.com> wrote: > 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 > -- ------------------ Enjoy. Thanks! Haulyn Microproduction Mobile: +086-15864011231 email: saharab...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 Haulyn Jason