Is the usage of the ViewstateAdapter
module needed or recommended for view that use the Sideview Utils modules?
I did a quick search and didn't find any uses of ViewstateAdapter in any of the examples:
fgrep ViewstateAdapter ~/etc/apps/sideview_utils/default/data/ui/views/*.xml
No matches. I'm guessing that means that we don't need this module?
Nope, you dont need it. ViewStateAdapter shows up a lot because it gets used by the Simplified XML internally, and thus when people begin their foray into Advanced XML by converting a view from the Simplified XML, that and a bunch of other cruft gets carried along with it.
You can safely remove it. For the record what it does is look for information that a HiddenSavedSearch module upstream might have written into the context. If it's there, and basically if that saved search has a viewstate associated with it, it will reconstitute some of the keys from that viewstate. like chart type and stackmode and things like that.
Nope, you dont need it. ViewStateAdapter shows up a lot because it gets used by the Simplified XML internally, and thus when people begin their foray into Advanced XML by converting a view from the Simplified XML, that and a bunch of other cruft gets carried along with it.
You can safely remove it. For the record what it does is look for information that a HiddenSavedSearch module upstream might have written into the context. If it's there, and basically if that saved search has a viewstate associated with it, it will reconstitute some of the keys from that viewstate. like chart type and stackmode and things like that.
Good to know. This was very helpful, thanks!