Hi all,
I have a class Account
public class Account {
private int id;
private String name;
//getters and setters
}
and a class Contact
private class Contact {
private int contactid;
private Account account;
//getters and setters
}
In a simple form controller, we initialize the command object through setCommandName method. Now my question is how should i initialize the account object that is related to this contact?