What is the best way to save and restore a users changes to UI components. I see that the various types of grids have methods to getViewState and setViewState and I suppose those could be persisted on the server as blobs of some sort. But is there some way to save and restore view states more generally for all grids in an application? Ideally I'd also like to save other changes such as whether a SectionStackSection has been resized or collapsed. Is there a recommended best practice for persisting view state or any tools to help with this?
Announcement
Collapse
No announcement yet.
X
-
The viewState APIs are there for components where it's fairly involved to capture the right information and re-apply it. For the rest, there are various APIs for whatever you might want to persist / re-apply (eg SectionStackSection.get/setExpanded()).
It's possible to put these more deeply into the framework, for example, settings that simply enable persistence via a pluggable persistent store. If you're interested in that, consider Feature Sponsorship.
-
hmm http://www.smartclient.com/smartgwt/...ckSection.html I can't find no getExpanded() or isExpanded() in SmartGWT.
Do I create a SmartGWT google code issue for it?
Comment
Comment