If I have a View Model like this:
@DomainObject(
nature = Nature.VIEW_MODEL
)
public class View {
public Customer customer;
public View(Customer customer) {
this.customer = customer;
}
public void delete() {
customer.delete();
}
}
where customer.delete() is a mixin action. How to call it from the view
model?
--
- Paul
