Help me, Please!!!
I am working for GMO Media,Inc(http://www.gmo-media.jp/company/index.html).
My name is JiHo Hwang.
I am under development using shindig(java version).
As for shindig(java version), does shindig(java version) support Gadget
Lifecycle Events?
Please I wait for an answer.
――――――――――――――――――――――――――――
~おかげさまで10周年。
これからも、For your Smile , with internet.~
――――――――――――――――――――――――――――
GMOメディア株式会社 GMO Media, Inc.
システム開発部
黄 志浩 Jiho Hwang
〒150-8512 東京都渋谷区桜丘町26番1号 セルリアンタワー
Phone 03-5456-2626(代表)
Fax 03-5459-6077
Mail [email protected]
URL http://www.gmo-media.jp/
――――――――――――――――――――――――――――
■ GMO INTERNET GROUP ■ www.gmo.jp/
――――――――――――――――――――――――――――
----- Original Message -----
From: "Joel Cairney" <[email protected]>
To: <[email protected]>
Sent: Tuesday, April 03, 2012 1:20 PM
Subject: How can a gadget container tell shindig what the Locale is?
Hello shindig-users-help,
I've seen in the OpenSocial spec that in some version after OpenSocial
v0.9, the proper way to tell the gadget server the Locale of the
container is to pass functions returning the language and country as
properties of the container config object:
var config = {
GET_LANGUAGE: function() { return 'en' },
GET_COUNTRY: function() { return 'us' }, //
as a really simple example
};
var container = new shindig.container.Container(config);
(extrapolating from here:
https://cwiki.apache.org/confluence/display/SHINDIG/Common+Container,
and here
http://opensocial-resources.googlecode.com/svn/spec/2.0/incubating/Core-
Container.xml)
However, new .Container() doesn't check for GET_LANGUAGE or GET_COUNTRY,
and the constants are not found in the shindig.container.ContainerConfig
set of constants where the other properties are named. So how is
setting the Locale done with the version of OpenSocial implemented as
part of Shindig 2.0?
Much obliged,
--Joel