ListMultipleChoice<String> tmp = new ListMultipleChoice<String>(...
-igor On Fri, Feb 26, 2010 at 2:07 PM, Juris Maskalans <jmaskal...@gmail.com> wrote: > Hi, > > I have a question regarding ListMultipleChoice. > How to overcome generic warning. > "ListMultipleChoice is a raw type. References to generic type > ListMultipleChoice<T> should be parameterized" > > Despite of this the code works fine: > ListMultipleChoice tmp = new ListMultipleChoice("tmp", new > PropertyModel<List<String>>( > this, "selectedYears"), new ArrayList<String>()); > > Thanks! > Juris > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org