Hi
I'm using a epi-cms/widget/ContentSelector outside standard CMS context, inpsired by https://gist.github.com/mvirkkunen/10484486. This works fine when using only one language.
The problem is I want to control the language-filter in the selector. If I understood the underlying mechanisms correctly, the widget itself has no control over this, but rather is determined server-side in the REST-store.
If I change language in edit mode, e.g. go to /EPiServer/CMS/?language=xxx, the selected language is reflected in my selector. This led me down the disassembly path, and ultimately to calls such as:
SystemLanguage.Instance.SetCulture("xx")
ContentLanguage.Instance.SetCulture("xx")
ContextCache.Current["EPiServer:ContentLanguage"] = culturexx
None of these methods made any difference when called from my controller, in all thinkable extension points.
Neither did trying to publish to dojo topics such as "/epi/shell/context/updateRequest" or "/epi/cms/action/viewsettingvaluechanged"
Any pointers in the right direction would be greatly appreciated