Heng Sin Low 2009-03-31 06:32:42 +00:00
parent 97ea3c5973
commit 70298e1835
2 changed files with 3 additions and 2 deletions

View File

@ -29,6 +29,7 @@ import org.compiere.model.MQuery;
import org.compiere.model.MTask;
import org.compiere.util.Env;
import org.compiere.util.WebDoc;
import org.compiere.wf.MWorkflow;
import org.zkoss.util.media.AMedia;
import org.zkoss.zk.ui.Component;
import org.zkoss.zul.Iframe;
@ -94,7 +95,7 @@ public abstract class TabbedDesktop extends AbstractDesktop {
DesktopTabpanel tabPanel = new DesktopTabpanel();
p.setParent(tabPanel);
windowContainer.addWindow(tabPanel, p.getWorkflow().getName(), true);
windowContainer.addWindow(tabPanel, p.getWorkflow().get_Translation(MWorkflow.COLUMNNAME_Name), true);
}
/**

View File

@ -178,7 +178,7 @@ public abstract class ADForm extends Window implements EventListener
String webClassName = "";
MForm mform = new MForm(Env.getCtx(), adFormID, null);
String richClassName = mform.getClassname();
String name = mform.getName();
String name = mform.get_Translation(MForm.COLUMNNAME_Name);
if (mform.get_ID() == 0 || richClassName == null)
{