PDA

View Full Version : [2.0 M1] cirilic language



Webflash
29 Apr 2009, 5:35 AM
OS windows, GWT 1.6
in start html is seted
<metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/>


public class Module implements EntryPoint {





public void onModuleLoad() {
GXT.setDefaultTheme(Theme.GRAY, true);
Viewport webShopModuleViewPort = new Viewport();
webShopModuleViewPort.setLayout(new FitLayout());

ContentPanel mainWebShopPanel = new ContentPanel();
mainWebShopPanel.setHeaderVisible(false);

mainWebShopPanel.setTopComponent(createMainToolBar());

webShopModuleViewPort.add(mainWebShopPanel);
RootPanel.get().add(webShopModuleViewPort);
}

protected MenuBar createMainToolBar() {
MenuBar menuBar = new MenuBar();


MenuItem goodsList = new MenuItem("Список Товаров");
MenuItem goodsAdd = new MenuItem("Добавить товар");
Menu goodsMenu = new Menu();
goodsMenu.add(goodsList);
goodsMenu.add(goodsAdd);

MenuItem goods = new MenuItem("Товары");
goods.setSubMenu(goodsMenu);

Menu mainGoodsMenu =new Menu();
mainGoodsMenu.add(goods);

menuBar.add(new MenuBarItem("Товары", mainGoodsMenu));


return menuBar;
}
}

sven
29 Apr 2009, 5:37 AM
I moved this to the help forum as it is a better place there.

Webflash
29 Apr 2009, 11:22 PM
problem was resolved

lichnost
10 May 2009, 12:49 AM
problem was resolved
How?

Webflash
11 May 2009, 1:11 AM
(my eclipse by default not save utf-8) change save and open in UTF-8 encoding