Re: wicket and JPA
Check if entityManager.merge(entity) is present?!
Re: user interface design: if any error, textbox channge to red ... ...
Also you can pass as second argument in AttributeModifier IModel object which return "error" on if there feedback message available. Similar to this: new AttributeModifier("class", new Model() { @Override public Serializable getObject() { if (currentBill != null && currentBill.id == item.getModelObject().id) { return "success"; } return null; } })