GWT国际化的处理

GWT的国际化需要做到以下几点:
1.使用GWT初始化Constants
final MCenterConstants constants = (MCenterConstants) GWT.create(MCenterConstants.class);
2.改变URL加入locale
  public void onClick(Widget sender) {
                Window.open(GWT.getHostPageBaseURL() + "?locale=" + "en", "_self", "");
            }

posted on 2008-11-28 17:11 刘铮 阅读(753) 评论(0)  编辑  收藏 所属分类: GWT


只有注册用户登录后才能发表评论。


网站导航:
 
<2024年5月>
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

导航

统计

留言簿(1)

文章分类(141)

文章档案(147)

搜索

最新评论