Struggling command concept

Topics: CAB & Smart Client Software Factory
Jun 3, 2007 at 8:07 AM
Hi to all

I have smartpart with two zoneworkspaces on it and toolBarWorkspace
when my usecase is loaded i load some views to the zones and then i load the view (show it in Windowworkspace)
I have some important question regarding this issue
1) When the toolbar is pressed lets say save button - where should i handle the command?
my current course of action is to do this in the controller this action resulted in some problems that concerns to the data that the user just filled how should i communicate with the view(to retrive the data) should i save the data to the state that way i have a reference at all time to my data ? is there another way to do this ?

Thanks for your help Alex