Hi,

I followed the example on this page
https://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html
to create a SortableDataProvider.  I am running into a
NullPointerException when my Comparator class' compare method is invoked
at 

int result = model1.getObject().compareTo(model2.getObject());

My class is exactly the same as the example code except for the type of
objects passed in to the method and used in <Type>.

The model1.getObject() is returning null.  I have confirmed in debugging
that model1 has both a valid expression and target set.

How does the object get set in a PropertyModel?

Thanks in advance!

Shelli

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to