look and feel

- added ZK_BROWSER_TITLE system variable ( to generate migration script for the default entries )
- change defaullt browser title from Adempiere Zk WebUI to Adempiere
This commit is contained in:
Heng Sin Low 2009-05-07 09:39:53 +00:00
parent 5a7101ac79
commit a619628e8d
1 changed files with 3 additions and 3 deletions

View File

@ -58,11 +58,11 @@ import org.zkoss.zul.Window;
public class AdempiereWebUI extends Window implements EventListener, IWebClient
{
/**
*
*
*/
private static final long serialVersionUID = 5759422592670132576L;
public static final String APP_NAME = "Adempiere ZK webUI";
public static final String APP_NAME = "Adempiere";
public static final String UID = "1.0";
@ -88,7 +88,7 @@ public class AdempiereWebUI extends Window implements EventListener, IWebClient
public void onCreate()
{
this.getPage().setTitle(APP_NAME);
this.getPage().setTitle(MSysConfig.getValue("ZK_BROWSER_TITLE", APP_NAME));
Properties ctx = Env.getCtx();
langSession = Env.getContext(ctx, Env.LANGUAGE);