Hi Martin, are you trying to push user preference dynamically when opening a gadget?
Otherwise you can set user pref via gadget.xml in the <UserPref> section. And thanks for working on the archetype to use the common container, really appreciate it - Henry On Thu, Nov 15, 2012 at 7:13 AM, Martin Hoeller <mar...@xss.co.at> wrote: > Hi! > > Finally I managed to use CommonContainer for rendering my gadgets (I'll > try to update the archetype and send a patch once I've cleaned up the > code). What I'd like to do next is find a way how to get the UserPrefs > from shindig and how to provide them to shindig. > > I already found RenderParam.USER_PREFS. Is this the way to provide > parameters for a gadget? What object should I pass? > > I also found ContainerConfig.GET_PREFERENCES. Can a method be specified > to provide UserPrefs? > > Thanks in advance for your help, > - martin >