See AbstractLink#setBody(IModel<String>) On Tue, Oct 23, 2012 at 12:16 PM, cosmindumy <cosmind...@yahoo.com> wrote: > Hi, > How can I set the text inside a ajaxlink. I use a table and on populateItem > on AbstractColumn I add a link. > I don't want to use another component with onclick ajax behavior.I also > cannot add a child to ajaxlink. I do not have control on it on html. Here is > the code. > > public void populateItem(final Item<ICellPopulator<UserDetailsVO>> item, > final String componentId, final IModel<UserDetailsVO> rowModel) > { > item.add(new AjaxLink { ... }); > } > > Thanks. > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/How-to-set-content-of-an-ajax-enabled-link-tp1882634p4653254.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 >
-- 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