One line was missing in the first constructor. Here is the corrected constructor:
public EntityModel(T entity) { this.entity = entity; entityClass = entity.getClass(); entityId = getEntityId(); } --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org