style = "color: red;";
}
}
final CheckBox checkBox = new CheckBox("kost2artSelect", new PropertyModel<Boolean>(kost2Art, "selected"));
colItem.add(checkBox);
final IconPanel image = new IconPanel("acceptImage", IconType.ACCEPT);
image.setTooltip(new ResourceModel("fibu.projekt.edit.kost2DoesAlreadyExists"));
colItem.add(image);
if (kost2Art.isExistsAlready() == true) {
checkBox.setVisible(false);
} else {
image.setVisibilityAllowed(false);
}
final Label kost2artNummerLabel = new Label("kost2artNummer", StringHelper.format2DigitNumber(kost2Art.getId()));
colItem.add(kost2artNummerLabel);
final Label kost2artNameLabel = new Label("kost2artName", kost2Art.isFakturiert() == true ? kost2Art.getName() : kost2Art.getName()
+ " (nf)");