Animal
02-22-2008, 12:46 PM
Why limit this very useful way of hooking up state saving to UI Components?
The methods which implement this should be part of Observable.
That way we can save Model state as well as View state directly without having to use the View as a vehicle for accessing Model state.
For instance a Store is Observable, you should be able to set some stateEvents on it and have it save its state.
The methods which implement this should be part of Observable.
That way we can save Model state as well as View state directly without having to use the View as a vehicle for accessing Model state.
For instance a Store is Observable, you should be able to set some stateEvents on it and have it save its state.