Re: wicket and JPA

2013-06-13 Thread Andrey V. Panov
Check if entityManager.merge(entity) is present?!


Re: user interface design: if any error, textbox channge to red ... ...

2013-06-15 Thread Andrey V. Panov
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;
}
})