@SuppressWarnings("unchecked")
SimpleAjaxLink createFixCRSLink(String id, final IModel<ImportTask> itemModel) {
return new SimpleAjaxLink(id, new Model("Fix...")) {
@Override
protected void onClick(AjaxRequestTarget target) {
dialog.showOkCancel(target, new DialogDelegate() {
@Override
protected boolean onSubmit(AjaxRequestTarget target, Component contents) {
ImporterWebUtils.importer().changed(itemModel.getObject());
target.addComponent(ImportTaskTable.this);