Implement some incomplete translation on zkwebui
This commit is contained in:
parent
bb55b5582a
commit
d37279076f
|
@ -0,0 +1,15 @@
|
|||
-- 11-dic-2010 19:24:42 COT
|
||||
-- Translate report viewer on zkwebui
|
||||
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53125,0,TO_DATE('2010-12-11 19:24:41','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Files of Type:','I',TO_DATE('2010-12-11 19:24:41','YYYY-MM-DD HH24:MI:SS'),100,'FilesOfType')
|
||||
;
|
||||
|
||||
-- 11-dic-2010 19:24:42 COT
|
||||
-- Translate report viewer on zkwebui
|
||||
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53125 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
|
||||
;
|
||||
|
||||
-- 11-dic-2010 19:24:54 COT
|
||||
-- Translate report viewer on zkwebui
|
||||
UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='Archivos de Tipo:',Updated=TO_DATE('2010-12-11 19:24:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=53125 AND AD_Language LIKE 'es_%'
|
||||
;
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
-- 11-dic-2010 19:24:42 COT
|
||||
-- Translate report viewer on zkwebui
|
||||
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53125,0,TO_TIMESTAMP('2010-12-11 19:24:41','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Files of Type:','I',TO_TIMESTAMP('2010-12-11 19:24:41','YYYY-MM-DD HH24:MI:SS'),100,'FilesOfType')
|
||||
;
|
||||
|
||||
-- 11-dic-2010 19:24:42 COT
|
||||
-- Translate report viewer on zkwebui
|
||||
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53125 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
|
||||
;
|
||||
|
||||
-- 11-dic-2010 19:24:54 COT
|
||||
-- Translate report viewer on zkwebui
|
||||
UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='Archivos de Tipo:',Updated=TO_TIMESTAMP('2010-12-11 19:24:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=53125 AND AD_Language LIKE 'es_%'
|
||||
;
|
||||
|
|
@ -203,7 +203,7 @@ public class ArchiveViewer extends Archive
|
|||
1, 1, 0, 0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5,0,0,0), 0, 0));
|
||||
queryPanel.add(createdQTo, new GridBagConstraints(2, line,
|
||||
1, 1, 0, 0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5,0,0,0), 0, 0));
|
||||
panel.add(queryPanel, "Query");
|
||||
panel.add(queryPanel, Msg.getMsg(Env.getCtx(), "ViewerQuery"));
|
||||
//
|
||||
//
|
||||
line = 0;
|
||||
|
@ -255,7 +255,7 @@ public class ArchiveViewer extends Archive
|
|||
viewEnterPanel.setPreferredSize(new Dimension(220,500));
|
||||
updateArchive.addActionListener(this);
|
||||
viewPanelSplit.setRightComponent(viewEnterPanel);
|
||||
panel.add(viewPanel, "View");
|
||||
panel.add(viewPanel, Msg.getMsg(Env.getCtx(), "ViewerResult"));
|
||||
//
|
||||
confirmPanel.addActionListener(this);
|
||||
updateQDisplay();
|
||||
|
@ -359,7 +359,7 @@ public class ArchiveViewer extends Archive
|
|||
return;
|
||||
}
|
||||
//
|
||||
positionInfo.setText(m_index+1 + " of " + m_archives.length);
|
||||
positionInfo.setText(m_index+1 + " " + Msg.getMsg(Env.getCtx(), "of") + " " + m_archives.length);
|
||||
MArchive ar = m_archives[m_index];
|
||||
createdByField.setText(ar.getCreatedByName());
|
||||
createdField.setValue(ar.getCreated());
|
||||
|
|
|
@ -30,6 +30,7 @@ import org.adempiere.webui.component.Button;
|
|||
import org.adempiere.webui.component.Checkbox;
|
||||
import org.adempiere.webui.component.ConfirmPanel;
|
||||
import org.adempiere.webui.component.Datebox;
|
||||
import org.adempiere.webui.component.DatetimeBox;
|
||||
import org.adempiere.webui.component.Grid;
|
||||
import org.adempiere.webui.component.Label;
|
||||
import org.adempiere.webui.component.ListItem;
|
||||
|
@ -72,11 +73,6 @@ import org.zkoss.zul.Iframe;
|
|||
|
||||
public class WArchiveViewer extends Archive implements IFormController, EventListener
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1861963456140146011L;
|
||||
|
||||
private CustomForm form = new CustomForm();
|
||||
|
||||
// private Vbox queryPanel = new Vbox();
|
||||
|
@ -105,7 +101,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis
|
|||
private Label positionInfo = new Label(".");
|
||||
private Label createdByLabel = new Label(Msg.translate(Env.getCtx(), "CreatedBy"));
|
||||
private Textbox createdByField = new Textbox();
|
||||
private Datebox createdField = new Datebox();
|
||||
private DatetimeBox createdField = new DatetimeBox();
|
||||
|
||||
private Label nameLabel = new Label(Msg.translate(Env.getCtx(), "Name"));
|
||||
private Textbox nameField = new Textbox();
|
||||
|
@ -195,19 +191,19 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis
|
|||
createdByQField.setRows(1);
|
||||
|
||||
updateArchive.setImage("/images/Ok24.png");
|
||||
updateArchive.setTooltiptext("Save Archive");
|
||||
updateArchive.setTooltiptext(Msg.getMsg(Env.getCtx(), "Update"));
|
||||
updateArchive.addEventListener(Events.ON_CLICK, this);
|
||||
|
||||
bRefresh.setImage("/images/Refresh24.png");
|
||||
bRefresh.setTooltiptext("Refresh");
|
||||
bRefresh.setTooltiptext(Msg.getMsg(Env.getCtx(), "Refresh"));
|
||||
bRefresh.addEventListener(Events.ON_CLICK, this);
|
||||
|
||||
bBack.setImage("/images/Parent24.png");
|
||||
bBack.setTooltiptext("Back");
|
||||
bBack.setTooltiptext(Msg.getMsg(Env.getCtx(), "Previous"));
|
||||
bBack.addEventListener(Events.ON_CLICK, this);
|
||||
|
||||
bNext.setImage("/images/Detail24.png");
|
||||
bNext.setTooltiptext("Next");
|
||||
bNext.setTooltiptext(Msg.getMsg(Env.getCtx(), "Next"));
|
||||
bNext.addEventListener(Events.ON_CLICK, this);
|
||||
|
||||
nameField.addEventListener(Events.ON_CHANGE, this);
|
||||
|
@ -319,7 +315,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis
|
|||
Tabpanel tabQueryPanel = new Tabpanel();
|
||||
tabQueryPanel.appendChild(div);
|
||||
|
||||
Tab tabQuery = new Tab("Query");
|
||||
Tab tabQuery = new Tab(Msg.getMsg(Env.getCtx(), "ViewerQuery"));
|
||||
|
||||
tabpanels.appendChild(tabQueryPanel);
|
||||
tabs.appendChild(tabQuery);
|
||||
|
@ -415,10 +411,11 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis
|
|||
div.appendChild(updateArchive);
|
||||
row.appendChild(div);
|
||||
|
||||
createdByField.setEnabled(false);
|
||||
createdField.setEnabled(false);
|
||||
createdByField.setReadonly(true);
|
||||
createdField.getDatebox().setReadonly(true);
|
||||
createdField.getTimebox().setReadonly(true);
|
||||
|
||||
Tab tabView = new Tab("View");
|
||||
Tab tabView = new Tab(Msg.getMsg(Env.getCtx(), "ViewerResult"));
|
||||
|
||||
Tabpanel tabViewPanel = new Tabpanel();
|
||||
Hbox boxViewSeparator = new Hbox();
|
||||
|
@ -547,7 +544,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis
|
|||
return;
|
||||
}
|
||||
|
||||
positionInfo.setValue(m_index+1 + " of " + m_archives.length);
|
||||
positionInfo.setValue(m_index+1 + " " + Msg.getMsg(Env.getCtx(), "of") + " " + m_archives.length);
|
||||
MArchive ar = m_archives[m_index];
|
||||
createdByField.setText(ar.getCreatedByName());
|
||||
createdField.setValue(ar.getCreated());
|
||||
|
|
|
@ -105,7 +105,7 @@ public class WEditorPopupMenu extends Menupopup implements EventListener
|
|||
{
|
||||
requeryItem = new Menuitem();
|
||||
requeryItem.setAttribute(EVENT_ATTRIBUTE, REQUERY_EVENT);
|
||||
requeryItem.setLabel("ReQuery");
|
||||
requeryItem.setLabel(Msg.getMsg(Env.getCtx(), "Refresh"));
|
||||
requeryItem.setImage("/images/Refresh16.png");
|
||||
requeryItem.addEventListener(Events.ON_CLICK, this);
|
||||
this.appendChild(requeryItem);
|
||||
|
@ -125,7 +125,7 @@ public class WEditorPopupMenu extends Menupopup implements EventListener
|
|||
{
|
||||
newItem = new Menuitem();
|
||||
newItem.setAttribute(EVENT_ATTRIBUTE, NEW_EVENT);
|
||||
newItem.setLabel(Msg.getMsg(Env.getCtx(), "NewRecord"));
|
||||
newItem.setLabel(Msg.getMsg(Env.getCtx(), "New"));
|
||||
newItem.setImage("/images/New16.png");
|
||||
newItem.addEventListener(Events.ON_CLICK, this);
|
||||
this.appendChild(newItem);
|
||||
|
@ -136,7 +136,7 @@ public class WEditorPopupMenu extends Menupopup implements EventListener
|
|||
{
|
||||
updateItem = new Menuitem();
|
||||
updateItem.setAttribute(EVENT_ATTRIBUTE, UPDATE_EVENT);
|
||||
updateItem.setLabel("Update Record");
|
||||
updateItem.setLabel(Msg.getMsg(Env.getCtx(), "Update"));
|
||||
updateItem.setImage("/images/InfoBPartner16.png");
|
||||
updateItem.addEventListener(Events.ON_CLICK, this);
|
||||
this.appendChild(updateItem);
|
||||
|
|
|
@ -76,6 +76,7 @@ import org.compiere.util.DB;
|
|||
import org.compiere.util.DisplayType;
|
||||
import org.compiere.util.Env;
|
||||
import org.compiere.util.Msg;
|
||||
import org.compiere.util.Util;
|
||||
import org.compiere.util.WebDoc;
|
||||
import org.zkoss.zk.ui.Component;
|
||||
import org.zkoss.zk.ui.Executions;
|
||||
|
@ -1702,7 +1703,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
|||
div.appendChild(hbox);
|
||||
|
||||
Button btnOk = new Button();
|
||||
btnOk.setLabel("OK");
|
||||
btnOk.setLabel(Util.cleanAmp(Msg.getMsg(Env.getCtx(), "OK")));
|
||||
btnOk.setImage("/images/Ok16.png");
|
||||
btnOk.addEventListener(Events.ON_CLICK, new EventListener()
|
||||
{
|
||||
|
@ -1745,7 +1746,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
|||
hbox.appendChild(btnOk);
|
||||
|
||||
Button btnCancel = new Button();
|
||||
btnCancel.setLabel("Cancel");
|
||||
btnCancel.setLabel(Util.cleanAmp(Msg.getMsg(Env.getCtx(), "Cancel")));
|
||||
btnCancel.setImage("/images/Cancel16.png");
|
||||
btnCancel.addEventListener(Events.ON_CLICK, new EventListener()
|
||||
{
|
||||
|
|
|
@ -137,14 +137,12 @@ public class WLocatorDialog extends Window implements EventListener
|
|||
|
||||
private void initComponents()
|
||||
{
|
||||
txtWarehouse.setEnabled(false);
|
||||
|
||||
lblLocator.setValue("Locator");
|
||||
lblWarehouse.setValue("Warehouse");
|
||||
lblAisleX.setValue("Aisle (X)");
|
||||
lblBinY.setValue("Bin (Y)");
|
||||
lblLevelZ.setValue("Level (Z)");
|
||||
lblKey.setValue("Key");
|
||||
lblLocator.setValue(Msg.translate(Env.getCtx(), "M_Locator_ID"));
|
||||
lblWarehouse.setValue(Msg.translate(Env.getCtx(), "M_Warehouse_ID"));
|
||||
lblAisleX.setValue(Msg.getElement(Env.getCtx(), "X"));
|
||||
lblBinY.setValue(Msg.getElement(Env.getCtx(), "Y"));
|
||||
lblLevelZ.setValue(Msg.getElement(Env.getCtx(), "Z"));
|
||||
lblKey.setValue(Msg.translate(Env.getCtx(), "Value"));
|
||||
|
||||
Hbox boxLocator = new Hbox();
|
||||
boxLocator.setWidth("100%");
|
||||
|
@ -162,7 +160,7 @@ public class WLocatorDialog extends Window implements EventListener
|
|||
boxCheckbox.setWidths("30%, 70%");
|
||||
boxCheckbox.setStyle("text-align:left");
|
||||
|
||||
chkCreateNew.setLabel(Msg.getMsg(Env.getCtx(), "Create New Record"));
|
||||
chkCreateNew.setLabel(Msg.getMsg(Env.getCtx(), "CreateNew"));
|
||||
|
||||
boxCheckbox.appendChild(new Label());
|
||||
boxCheckbox.appendChild(chkCreateNew);
|
||||
|
@ -368,6 +366,7 @@ public class WLocatorDialog extends Window implements EventListener
|
|||
//lWarehouseInfo.setVisible(!sel);
|
||||
txtWarehouse.setVisible(!sel);
|
||||
|
||||
txtWarehouse.setReadonly(true);
|
||||
txtAisleX.setReadonly(!sel);
|
||||
txtBinY.setReadonly(!sel);
|
||||
txtLevelZ.setReadonly(!sel);
|
||||
|
|
|
@ -201,48 +201,48 @@ public class ZkReportViewer extends Window implements EventListener {
|
|||
previewType.setSelectedIndex(0); //fallback to PDF
|
||||
|
||||
|
||||
labelDrill.setValue(Msg.getMsg(m_ctx, "Drill") + ": ");
|
||||
labelDrill.setValue(Msg.getMsg(Env.getCtx(), "Drill") + ": ");
|
||||
toolBar.appendChild(labelDrill);
|
||||
|
||||
comboDrill.setMold("select");
|
||||
comboDrill.setTooltiptext(Msg.getMsg(m_ctx, "Drill"));
|
||||
comboDrill.setTooltiptext(Msg.getMsg(Env.getCtx(), "Drill"));
|
||||
toolBar.appendChild(comboDrill);
|
||||
|
||||
toolBar.appendChild(new Separator("vertical"));
|
||||
|
||||
comboReport.setMold("select");
|
||||
comboReport.setTooltiptext(Msg.translate(m_ctx, "AD_PrintFormat_ID"));
|
||||
comboReport.setTooltiptext(Msg.translate(Env.getCtx(), "AD_PrintFormat_ID"));
|
||||
toolBar.appendChild(comboReport);
|
||||
|
||||
summary.setText(Msg.getMsg(m_ctx, "Summary"));
|
||||
summary.setText(Msg.getMsg(Env.getCtx(), "Summary"));
|
||||
toolBar.appendChild(summary);
|
||||
|
||||
bCustomize.setImage("/images/Preference24.png");
|
||||
bCustomize.setTooltiptext("Customize Report");
|
||||
bCustomize.setTooltiptext(Msg.getMsg(Env.getCtx(), "PrintCustomize"));
|
||||
toolBar.appendChild(bCustomize);
|
||||
bCustomize.addEventListener(Events.ON_CLICK, this);
|
||||
|
||||
bFind.setImage("/images/Find24.png");
|
||||
bFind.setTooltiptext("Lookup Record");
|
||||
bFind.setTooltiptext(Msg.getMsg(Env.getCtx(), "Find"));
|
||||
toolBar.appendChild(bFind);
|
||||
bFind.addEventListener(Events.ON_CLICK, this);
|
||||
|
||||
toolBar.appendChild(new Separator("vertical"));
|
||||
|
||||
bSendMail.setImage("/images/SendMail24.png");
|
||||
bSendMail.setTooltiptext("Send Mail");
|
||||
bSendMail.setTooltiptext(Msg.getMsg(Env.getCtx(), "SendMail"));
|
||||
toolBar.appendChild(bSendMail);
|
||||
bSendMail.addEventListener(Events.ON_CLICK, this);
|
||||
|
||||
bArchive.setImage("/images/Archive24.png");
|
||||
bArchive.setTooltiptext("Archived Documents/Reports");
|
||||
bArchive.setTooltiptext(Msg.getMsg(Env.getCtx(), "Archive"));
|
||||
toolBar.appendChild(bArchive);
|
||||
bArchive.addEventListener(Events.ON_CLICK, this);
|
||||
|
||||
if (m_isCanExport)
|
||||
{
|
||||
bExport.setImage("/images/ExportX24.png");
|
||||
bExport.setTooltiptext("Export");
|
||||
bExport.setTooltiptext(Msg.getMsg(Env.getCtx(), "Export"));
|
||||
toolBar.appendChild(bExport);
|
||||
bExport.addEventListener(Events.ON_CLICK, this);
|
||||
}
|
||||
|
@ -250,7 +250,7 @@ public class ZkReportViewer extends Window implements EventListener {
|
|||
toolBar.appendChild(new Separator("vertical"));
|
||||
|
||||
bRefresh.setImage("/images/Refresh24.png");
|
||||
bRefresh.setTooltiptext("Refresh");
|
||||
bRefresh.setTooltiptext(Msg.getMsg(Env.getCtx(), "Refresh"));
|
||||
toolBar.appendChild(bRefresh);
|
||||
bRefresh.addEventListener(Events.ON_CLICK, this);
|
||||
|
||||
|
@ -485,7 +485,7 @@ public class ZkReportViewer extends Window implements EventListener {
|
|||
{
|
||||
log.log(Level.SEVERE, sql, e);
|
||||
}
|
||||
StringBuffer sb = new StringBuffer("** ").append(Msg.getMsg(m_ctx, "NewReport")).append(" **");
|
||||
StringBuffer sb = new StringBuffer("** ").append(Msg.getMsg(Env.getCtx(), "NewReport")).append(" **");
|
||||
KeyNamePair pp = new KeyNamePair(-1, sb.toString());
|
||||
comboReport.appendItem(pp.getName(), pp.getKey());
|
||||
comboReport.addEventListener(Events.ON_SELECT, this);
|
||||
|
@ -497,11 +497,11 @@ public class ZkReportViewer extends Window implements EventListener {
|
|||
private void revalidate()
|
||||
{
|
||||
// Report Info
|
||||
setTitle(Msg.getMsg(m_ctx, "Report") + ": " + m_reportEngine.getName() + " " + Env.getHeader(m_ctx, 0));
|
||||
setTitle(Msg.getMsg(Env.getCtx(), "Report") + ": " + m_reportEngine.getName() + " " + Env.getHeader(Env.getCtx(), 0));
|
||||
StringBuffer sb = new StringBuffer ();
|
||||
sb.append(Msg.getMsg(m_ctx, "DataCols")).append("=")
|
||||
sb.append(Msg.getMsg(Env.getCtx(), "DataCols")).append("=")
|
||||
.append(m_reportEngine.getColumnCount())
|
||||
.append(", ").append(Msg.getMsg(m_ctx, "DataRows")).append("=")
|
||||
.append(", ").append(Msg.getMsg(Env.getCtx(), "DataRows")).append("=")
|
||||
.append(m_reportEngine.getRowCount());
|
||||
statusBar.setStatusLine(sb.toString());
|
||||
//
|
||||
|
@ -662,7 +662,7 @@ public class ZkReportViewer extends Window implements EventListener {
|
|||
if(winExportFile == null)
|
||||
{
|
||||
winExportFile = new Window();
|
||||
winExportFile.setTitle(Msg.getMsg(m_ctx, "Export") + ": " + getTitle());
|
||||
winExportFile.setTitle(Msg.getMsg(Env.getCtx(), "Export") + ": " + getTitle());
|
||||
winExportFile.setWidth("450px");
|
||||
winExportFile.setClosable(true);
|
||||
winExportFile.setBorder("normal");
|
||||
|
@ -671,20 +671,20 @@ public class ZkReportViewer extends Window implements EventListener {
|
|||
cboType.setMold("select");
|
||||
|
||||
cboType.getItems().clear();
|
||||
cboType.appendItem("ps" + " - " + Msg.getMsg(m_ctx, "FilePS"), "ps");
|
||||
cboType.appendItem("xml" + " - " + Msg.getMsg(m_ctx, "FileXML"), "xml");
|
||||
ListItem li = cboType.appendItem("pdf" + " - " + Msg.getMsg(m_ctx, "FilePDF"), "pdf");
|
||||
cboType.appendItem("html" + " - " + Msg.getMsg(m_ctx, "FileHTML"), "html");
|
||||
cboType.appendItem("txt" + " - " + Msg.getMsg(m_ctx, "FileTXT"), "txt");
|
||||
cboType.appendItem("ssv" + " - " + Msg.getMsg(m_ctx, "FileSSV"), "ssv");
|
||||
cboType.appendItem("csv" + " - " + Msg.getMsg(m_ctx, "FileCSV"), "csv");
|
||||
cboType.appendItem("xls" + " - " + Msg.getMsg(m_ctx, "FileXLS"), "xls");
|
||||
cboType.appendItem("ps" + " - " + Msg.getMsg(Env.getCtx(), "FilePS"), "ps");
|
||||
cboType.appendItem("xml" + " - " + Msg.getMsg(Env.getCtx(), "FileXML"), "xml");
|
||||
ListItem li = cboType.appendItem("pdf" + " - " + Msg.getMsg(Env.getCtx(), "FilePDF"), "pdf");
|
||||
cboType.appendItem("html" + " - " + Msg.getMsg(Env.getCtx(), "FileHTML"), "html");
|
||||
cboType.appendItem("txt" + " - " + Msg.getMsg(Env.getCtx(), "FileTXT"), "txt");
|
||||
cboType.appendItem("ssv" + " - " + Msg.getMsg(Env.getCtx(), "FileSSV"), "ssv");
|
||||
cboType.appendItem("csv" + " - " + Msg.getMsg(Env.getCtx(), "FileCSV"), "csv");
|
||||
cboType.appendItem("xls" + " - " + Msg.getMsg(Env.getCtx(), "FileXLS"), "xls");
|
||||
cboType.setSelectedItem(li);
|
||||
|
||||
Hbox hb = new Hbox();
|
||||
Div div = new Div();
|
||||
div.setAlign("right");
|
||||
div.appendChild(new Label("Files of Type: "));
|
||||
div.appendChild(new Label(Msg.getMsg(Env.getCtx(), "FilesOfType")));
|
||||
hb.appendChild(div);
|
||||
hb.appendChild(cboType);
|
||||
cboType.setWidth("100%");
|
||||
|
|
Loading…
Reference in New Issue