You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Andrea Del Bene <an...@gmail.com> on 2011/11/18 23:32:12 UTC
Loop and commit 1203322
Hi,
I'm testing my application with the main trunk of Wicket (Wicket 6).
I've found a problem with class Loop. With commit 1203322 Igor changed
iteration variables from int to long, but this causes a cast exception
in getIterations():
public final long getIterations()
{
return (Long)getDefaultModelObject();
}
The model of Loop is an Integer, so it cannot cast to Long. Reverting
this method to old version seems to solve problem.