https://issues.apache.org/jira/browse/WICKET-2588
igor.vaynberg wrote: > > yep, so we cant fix it in 1.4.x, but add an rfe for 1.5 > > -igor > > On Sun, Nov 22, 2009 at 2:24 PM, Peter Dotchev <dotc...@gmail.com> wrote: >> Hi Wicketeers, >> >> I just noticed that this constructor >> public ExternalLink(final String id, final IModel<String> href, final >> *IModel<String>* label) >> takes IModel<String> for label. >> This is somewhat limiting since the model could hold a number or a date >> for >> example. >> Actually passing a raw IModel with any object inside works just fine. >> >> It would be more appropriate if this constructor takes IModel<?> for the >> label as done in Label constructor. >> Unfortunately ExternalLink offers a public method getLabel() that returns >> the label as IModel<String>. >> So it seems changing it would break compatibility. >> >> Using wicket 1.4.1. >> >> Best regards, >> Peter >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://old.nabble.com/ExternalLink-takes-IModel%3CString%3E-for-label-tp26470239p26477595.html Sent from the Wicket - User 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