also it should just be setLabel() or setBody(), setBodyLabel() seems redundant
-igor On Sun, Jan 23, 2011 at 3:17 PM, Jeremy Thomerson <[email protected]> wrote: > > > On Sun, Jan 23, 2011 at 5:30 AM, <[email protected]> wrote: >> >> + public AbstractLink setBodyModel(final IModel<?> bodyModel) >> + { >> + this.bodyModel = bodyModel; >> + return this; >> } > > Should this be: > > this.bodyModel = wrap(bodyModel); > > -- > Jeremy Thomerson > http://wickettraining.com > Need a CMS for Wicket? Use Brix! http://brixcms.org > >
