</BUG>
}
protected abstract ContactDao getContactDao();
public final Iterator iterator(int first, int count)
{
<BUG>QueryParam qp = new QueryParam(first, count, getSort().getProperty(), getSort()

.isAscending());</BUG>
return getContactDao().find(qp);
}

import org.apache.wicket.spring.common.QueryParam;
public abstract class ContactDataProvider extends SortableDataProvider
{
public ContactDataProvider()
{
setSort("firstName", SortOrder.ASCENDING);
}
protected abstract ContactDao getContactDao();
public final Iterator iterator(int first, int count)
{
QueryParam qp = new QueryParam(first, count, getSort());
return getContactDao().find(qp);
}
