Hi, I'm trying to do something similar and I'm wondering if there is any solution for this.
I'm converting an existing application to OpenSocial, and I'm trying to fetch the current messagebundle. (Localization is done on server side, so I want to send the messagebundle URL to the server). Since Hi5 and Netlog add the bundle themselves, I'm trying to fetch currently used message bundle. (Since my original XML doesn't contain these). Is that possible even possible? Thanks! Thijs. On Apr 3, 2:06 am, "Jerome (Guru)" <[email protected]> wrote: > Hi Gary, > > As far as I know, there is no API to access the ModulePrefs. These > prefs are usually not relevant for the gadget at runtime, but are most > useful for the gadget directory or the containers. > > The easiest technical solution to access the ModulePrefs would be to > use a _IG_Fetch...() call to get the gadget spec and parse it to > access the info you need. This would be potentially a significant data > transfer on a high traffic gadget though. > > Jerome > > On Apr 2, 4:50 pm, gary <[email protected]> wrote: > > > Is there anyway to retreive the title attribute of ModulePrefs of a > > gadget. There is a method that allows you to set the title using the > > gadget.window.setTitle, but what if you just want to retrieve what the > > title is??....Surely you can do this. I know you can access the > > userPrefs by constructing a new Prefs object but what about the > > ModulePrefs, anyway of them, author, email, title, how can you > > retrieve > > them. > > > Thanks,Gary --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Gadgets-API?hl=en -~----------~----~----~----~------~----~------~--~---
