I have ExtJS based application. I have compound object on the server side, and have ExtJS window with few tabs for editing different parts of this one object. For example:
I Have Compound object "Car"
public class Car
{
public string Name;
public string Color;
public List<Wheel> Wheels;
public List<Door> Doors;
}
And on my ExtJS window i have tabs ("General Info", "Wheels", "Doors") for editing different parts of this object.
So what i want:
When i want to create a new car i want to generate JSON configuration for my class "Car" like {Name:null; Color:null; Wheels:[]; Doors:[]}
then sent it to the client, fill it on the client (without callbacks to server) and after user finishes creating his Car object (he added wheels, doors, set name and color) and press save, I want to sent this filled(generated) JSON object to server and save it to DB.
Is it possible?
Thanks