XmlDocument xmlDocument = null;
if (vars.commandIn("DEFAULT")) {
xmlDocument = xmlEngine.readXmlTemplate(
"org/openbravo/erpCommon/ad_reports/ReportProjectBuildingSite").createXmlDocument();
ToolBar toolbar = new ToolBar(
this,
vars.getLanguage(),
"ReportProjectBuildingSite",
false,
"",
"",
"openServletNewWindow('PDF', false, 'ReportProjectBuildingSitePDF.pdf', 'ReportProjectBuildingSite', null, false, '750', '1024', true);return false;",
false, "ad_reports", strReplaceWith, false, true);
toolbar.prepareSimpleToolBarTemplate();
xmlDocument.setParameter("toolbar", toolbar.toString());
try {
WindowTabs tabs = new WindowTabs(this, vars,
"org.openbravo.erpCommon.ad_reports.ReportProjectBuildingSite");
xmlDocument.setParameter("parentTabContainer", tabs.parentTabs());