* Merge change from branches/adempiere341, revision 6036-6040
This commit is contained in:
parent
24f348b34a
commit
8d94bc195e
|
@ -763,11 +763,13 @@ public class Desktop extends AbstractUIPart implements MenuListener, Serializabl
|
||||||
}
|
}
|
||||||
else if(menu.getAction().equals(MMenu.ACTION_Form))
|
else if(menu.getAction().equals(MMenu.ACTION_Form))
|
||||||
{
|
{
|
||||||
Window form = ADForm.openForm(menu.getAD_Form_ID());
|
ADForm form = ADForm.openForm(menu.getAD_Form_ID());
|
||||||
|
|
||||||
Tabpanel tabPanel = new Tabpanel();
|
Tabpanel tabPanel = new Tabpanel();
|
||||||
form.setParent(tabPanel);
|
form.setParent(tabPanel);
|
||||||
windowContainer.addWindow(tabPanel, form.getTitle(), true);
|
//do not show window title when open as tab
|
||||||
|
form.setTitle(null);
|
||||||
|
windowContainer.addWindow(tabPanel, form.getFormName(), true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,9 +31,11 @@ import java.util.ArrayList;
|
||||||
import java.util.Vector;
|
import java.util.Vector;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
|
import org.adempiere.webui.LayoutUtils;
|
||||||
import org.adempiere.webui.component.Button;
|
import org.adempiere.webui.component.Button;
|
||||||
import org.adempiere.webui.component.Checkbox;
|
import org.adempiere.webui.component.Checkbox;
|
||||||
import org.adempiere.webui.component.Grid;
|
import org.adempiere.webui.component.Grid;
|
||||||
|
import org.adempiere.webui.component.Label;
|
||||||
import org.adempiere.webui.component.ListModelTable;
|
import org.adempiere.webui.component.ListModelTable;
|
||||||
import org.adempiere.webui.component.Panel;
|
import org.adempiere.webui.component.Panel;
|
||||||
import org.adempiere.webui.component.Row;
|
import org.adempiere.webui.component.Row;
|
||||||
|
@ -69,11 +71,14 @@ import org.compiere.util.Util;
|
||||||
import org.zkoss.zk.ui.event.Event;
|
import org.zkoss.zk.ui.event.Event;
|
||||||
import org.zkoss.zk.ui.event.EventListener;
|
import org.zkoss.zk.ui.event.EventListener;
|
||||||
import org.zkoss.zk.ui.event.Events;
|
import org.zkoss.zk.ui.event.Events;
|
||||||
|
import org.zkoss.zkex.zul.Borderlayout;
|
||||||
|
import org.zkoss.zkex.zul.Center;
|
||||||
|
import org.zkoss.zkex.zul.North;
|
||||||
|
import org.zkoss.zkex.zul.South;
|
||||||
|
import org.zkoss.zul.Div;
|
||||||
import org.zkoss.zul.Hbox;
|
import org.zkoss.zul.Hbox;
|
||||||
import org.zkoss.zul.Label;
|
|
||||||
import org.zkoss.zul.Separator;
|
import org.zkoss.zul.Separator;
|
||||||
import org.zkoss.zul.Space;
|
import org.zkoss.zul.Space;
|
||||||
import org.zkoss.zul.Vbox;
|
|
||||||
import org.zkoss.zul.event.ListDataEvent;
|
import org.zkoss.zul.event.ListDataEvent;
|
||||||
|
|
||||||
|
|
||||||
|
@ -101,7 +106,8 @@ public class WAllocation extends ADForm implements EventListener,
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/** */
|
/** */
|
||||||
private Panel m_pnlMain = new Panel();
|
//private Panel m_pnlMain = new Panel();
|
||||||
|
private Borderlayout m_pnlMain = new Borderlayout();
|
||||||
|
|
||||||
/** Parameter panel. */
|
/** Parameter panel. */
|
||||||
private Panel m_pnlParameter = new Panel();
|
private Panel m_pnlParameter = new Panel();
|
||||||
|
@ -275,28 +281,29 @@ public class WAllocation extends ADForm implements EventListener,
|
||||||
*/
|
*/
|
||||||
private void createPaymentPanel()
|
private void createPaymentPanel()
|
||||||
{
|
{
|
||||||
Hbox hbox = new Hbox();
|
Div div = new Div();
|
||||||
|
|
||||||
// Put the table label at the top of this panel
|
// Put the table label at the top of this panel
|
||||||
hbox.setWidth("100%");
|
|
||||||
m_lblPayment.setValue(Msg.translate(Env.getCtx(), "C_Payment_ID"));
|
m_lblPayment.setValue(Msg.translate(Env.getCtx(), "C_Payment_ID"));
|
||||||
hbox.setStyle("text-align:left");
|
div.setStyle("text-align:left");
|
||||||
hbox.appendChild(m_lblPayment);
|
div.appendChild(m_lblPayment);
|
||||||
m_pnlPayment.appendChild(hbox);
|
m_pnlPayment.appendChild(div);
|
||||||
|
|
||||||
// Add the payment details table
|
// Add the payment details table
|
||||||
m_lsbPayments.setWidth(null);
|
m_lsbPayments.setVflex(true);
|
||||||
m_lsbPayments.setRows(10);
|
m_lsbPayments.setHeight("80%");
|
||||||
|
m_lsbPayments.setWidth("99%");
|
||||||
m_pnlPayment.appendChild(m_lsbPayments);
|
m_pnlPayment.appendChild(m_lsbPayments);
|
||||||
|
|
||||||
// Put the selected payment information just below the table and
|
// Put the selected payment information just below the table and
|
||||||
// right-align it
|
// right-align it
|
||||||
hbox = new Hbox();
|
div = new Div();
|
||||||
hbox.setWidth("100%");
|
div.setWidth("99%");
|
||||||
m_lblPaymentInfo.setValue(".");
|
m_lblPaymentInfo.setValue(".");
|
||||||
hbox.setStyle("text-align:right");
|
div.setStyle("text-align:right");
|
||||||
hbox.appendChild(m_lblPaymentInfo);
|
div.appendChild(m_lblPaymentInfo);
|
||||||
m_pnlPayment.appendChild(hbox);
|
m_pnlPayment.appendChild(div);
|
||||||
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -309,28 +316,28 @@ public class WAllocation extends ADForm implements EventListener,
|
||||||
*/
|
*/
|
||||||
private void createInvoicePanel()
|
private void createInvoicePanel()
|
||||||
{
|
{
|
||||||
Hbox hbox = new Hbox();
|
Div div = new Div();
|
||||||
|
|
||||||
// Put the table label at the top of this panel
|
// Put the table label at the top of this panel
|
||||||
hbox.setWidth("100%");
|
|
||||||
m_lblInvoice.setValue(Msg.translate(Env.getCtx(), "C_Invoice_ID"));
|
m_lblInvoice.setValue(Msg.translate(Env.getCtx(), "C_Invoice_ID"));
|
||||||
hbox.setStyle("text-align:left");
|
div.setStyle("text-align:left");
|
||||||
hbox.appendChild(m_lblInvoice);
|
div.appendChild(m_lblInvoice);
|
||||||
m_pnlInvoice.appendChild(hbox);
|
m_pnlInvoice.appendChild(div);
|
||||||
|
|
||||||
// Add the invoice details table
|
// Add the invoice details table
|
||||||
m_lsbInvoices.setWidth(null);
|
m_lsbInvoices.setHeight("80%");
|
||||||
m_lsbInvoices.setRows(10);
|
m_lsbInvoices.setWidth("99%");
|
||||||
|
m_lsbInvoices.setVflex(true);
|
||||||
m_pnlInvoice.appendChild(m_lsbInvoices);
|
m_pnlInvoice.appendChild(m_lsbInvoices);
|
||||||
|
|
||||||
// Put the selected invoice information just below the table and
|
// Put the selected invoice information just below the table and
|
||||||
// right-align it
|
// right-align it
|
||||||
hbox = new Hbox();
|
div = new Div();
|
||||||
hbox.setWidth("100%");
|
div.setWidth("99%");
|
||||||
m_lblInvoiceInfo.setValue(".");
|
m_lblInvoiceInfo.setValue(".");
|
||||||
hbox.setStyle("text-align:right");
|
div.setStyle("text-align:right");
|
||||||
hbox.appendChild(m_lblInvoiceInfo);
|
div.appendChild(m_lblInvoiceInfo);
|
||||||
m_pnlInvoice.appendChild(hbox);
|
m_pnlInvoice.appendChild(div);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -343,28 +350,16 @@ public class WAllocation extends ADForm implements EventListener,
|
||||||
*/
|
*/
|
||||||
private void createInfoPanel()
|
private void createInfoPanel()
|
||||||
{
|
{
|
||||||
Vbox vbox = new Vbox();
|
|
||||||
Separator separator = new Separator();
|
createPaymentPanel();
|
||||||
|
m_pnlPayment.setHeight("49%");
|
||||||
vbox.setWidth("100%");
|
m_pnlPayment.setWidth("100%");
|
||||||
vbox.setHeight("200px");
|
m_pnlInfo.appendChild(m_pnlPayment);
|
||||||
vbox.setHeights("45%,5%,45%");
|
|
||||||
|
createInvoicePanel();
|
||||||
// Put the payment panel in the top half of the box
|
m_pnlInvoice.setHeight("49%");
|
||||||
createPaymentPanel();
|
m_pnlInvoice.setWidth("100%");
|
||||||
vbox.appendChild(m_pnlPayment);
|
m_pnlInfo.appendChild(m_pnlInvoice);
|
||||||
|
|
||||||
// adda separator between the two panels
|
|
||||||
// this should be a splitter, but splitters don't work with Listboxes
|
|
||||||
separator.setBar(true);
|
|
||||||
vbox.appendChild(separator);
|
|
||||||
|
|
||||||
// Put the invoice panel in the bottom half of the box
|
|
||||||
createInvoicePanel();
|
|
||||||
vbox.appendChild(m_pnlInvoice);
|
|
||||||
|
|
||||||
// add the box to the panel
|
|
||||||
m_pnlInfo.appendChild(vbox);
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -424,6 +419,8 @@ public class WAllocation extends ADForm implements EventListener,
|
||||||
*/
|
*/
|
||||||
private void createParameterPanel()
|
private void createParameterPanel()
|
||||||
{
|
{
|
||||||
|
m_grdParameter.makeNoStrip();
|
||||||
|
|
||||||
Rows rows = new Rows();
|
Rows rows = new Rows();
|
||||||
Row rowTop = new Row();
|
Row rowTop = new Row();
|
||||||
Row rowBottom = new Row();
|
Row rowBottom = new Row();
|
||||||
|
@ -435,23 +432,18 @@ public class WAllocation extends ADForm implements EventListener,
|
||||||
m_chbMultiCurrency.setLabel(Msg.getMsg(Env.getCtx(), "MultiCurrency"));
|
m_chbMultiCurrency.setLabel(Msg.getMsg(Env.getCtx(), "MultiCurrency"));
|
||||||
m_chbMultiCurrency.addEventListener(Events.ON_CHECK, this);
|
m_chbMultiCurrency.addEventListener(Events.ON_CHECK, this);
|
||||||
|
|
||||||
rowTop.setAlign("left");
|
|
||||||
rowTop.setStyle("text-align:right");
|
|
||||||
rowBottom.setAlign("left");
|
|
||||||
rowBottom.setStyle("text-align:right");
|
|
||||||
|
|
||||||
// add the business partner search box to the top row
|
// add the business partner search box to the top row
|
||||||
rowTop.appendChild(m_lblBusinessPartner);
|
rowTop.appendChild(LayoutUtils.makeRightAlign(m_lblBusinessPartner));
|
||||||
rowTop.appendChild(m_wedBusinessPartnerSearch.getComponent());
|
rowTop.appendChild(m_wedBusinessPartnerSearch.getComponent());
|
||||||
|
|
||||||
// add the date box to the top row
|
// add the date box to the top row
|
||||||
rowTop.appendChild(m_lblDate);
|
rowTop.appendChild(LayoutUtils.makeRightAlign(m_lblDate));
|
||||||
rowTop.appendChild(m_wdeDateField.getComponent());
|
rowTop.appendChild(m_wdeDateField.getComponent());
|
||||||
|
|
||||||
rows.appendChild(rowTop);
|
rows.appendChild(rowTop);
|
||||||
|
|
||||||
// add the currency search box to the bottom row
|
// add the currency search box to the bottom row
|
||||||
rowBottom.appendChild(m_lblCurrency);
|
rowBottom.appendChild(LayoutUtils.makeRightAlign(m_lblCurrency));
|
||||||
rowBottom.appendChild(m_wedCurrencyPick.getComponent());
|
rowBottom.appendChild(m_wedCurrencyPick.getComponent());
|
||||||
|
|
||||||
// add the mult-currency check-box to the bottom row
|
// add the mult-currency check-box to the bottom row
|
||||||
|
@ -487,21 +479,34 @@ public class WAllocation extends ADForm implements EventListener,
|
||||||
dynamicInitialise();
|
dynamicInitialise();
|
||||||
|
|
||||||
createParameterPanel();
|
createParameterPanel();
|
||||||
m_pnlMain.appendChild(m_pnlParameter);
|
North north = new North();
|
||||||
|
north.appendChild(m_pnlParameter);
|
||||||
|
|
||||||
createInfoPanel();
|
createInfoPanel();
|
||||||
m_pnlMain.appendChild(m_pnlInfo);
|
Center center = new Center();
|
||||||
|
center.appendChild(m_pnlInfo);
|
||||||
|
m_pnlInfo.setWidth("100%");
|
||||||
|
m_pnlInfo.setHeight("100%");
|
||||||
|
center.setFlex(true);
|
||||||
|
center.setAutoscroll(true);
|
||||||
|
|
||||||
createAllocationPanel();
|
createAllocationPanel();
|
||||||
m_pnlMain.appendChild(m_pnlAllocate);
|
South south = new South();
|
||||||
|
Div div = new Div();
|
||||||
m_pnlMain.setAlign("center");
|
div.appendChild(m_pnlAllocate);
|
||||||
|
div.appendChild(new Separator("vertical"));
|
||||||
|
div.appendChild(m_statusBar);
|
||||||
|
div.setHeight("100%");
|
||||||
|
south.appendChild(div);
|
||||||
|
|
||||||
this.appendChild(m_pnlMain);
|
this.appendChild(m_pnlMain);
|
||||||
|
|
||||||
this.appendChild(m_statusBar);
|
m_pnlMain.appendChild(north);
|
||||||
|
m_pnlMain.appendChild(center);
|
||||||
// this.setWidth("850px");
|
m_pnlMain.appendChild(south);
|
||||||
|
|
||||||
|
m_pnlMain.setWidth("99%");
|
||||||
|
m_pnlMain.setHeight("100%");
|
||||||
|
|
||||||
calculate();
|
calculate();
|
||||||
|
|
||||||
|
|
|
@ -143,69 +143,69 @@ public class CWindowToolbar extends FToolbar implements EventListener
|
||||||
btnParentRecord = new ToolBarButton("");
|
btnParentRecord = new ToolBarButton("");
|
||||||
btnParentRecord.setName("btnParentRecord");
|
btnParentRecord.setName("btnParentRecord");
|
||||||
btnParentRecord.setImage("/images/Parent24.gif");
|
btnParentRecord.setImage("/images/Parent24.gif");
|
||||||
btnParentRecord.setTooltip(Msg.getMsg(Env.getCtx(),"Parent"));
|
btnParentRecord.setTooltiptext(Msg.getMsg(Env.getCtx(),"Parent"));
|
||||||
|
|
||||||
btnDetailRecord = new ToolBarButton("");
|
btnDetailRecord = new ToolBarButton("");
|
||||||
btnDetailRecord.setName("btnDetailRecord");
|
btnDetailRecord.setName("btnDetailRecord");
|
||||||
btnDetailRecord.setImage("/images/Detail24.gif");
|
btnDetailRecord.setImage("/images/Detail24.gif");
|
||||||
btnDetailRecord.setTooltip(Msg.getMsg(Env.getCtx(),"Detail"));
|
btnDetailRecord.setTooltiptext(Msg.getMsg(Env.getCtx(),"Detail"));
|
||||||
// --
|
// --
|
||||||
btnFirst = new ToolBarButton("");
|
btnFirst = new ToolBarButton("");
|
||||||
btnFirst.setName("btnFirst");
|
btnFirst.setName("btnFirst");
|
||||||
btnFirst.setImage("/images/First24.gif");
|
btnFirst.setImage("/images/First24.gif");
|
||||||
btnFirst.setTooltip(Msg.getMsg(Env.getCtx(),"First"));
|
btnFirst.setTooltiptext(Msg.getMsg(Env.getCtx(),"First"));
|
||||||
|
|
||||||
btnPrevious = new ToolBarButton("");
|
btnPrevious = new ToolBarButton("");
|
||||||
btnPrevious.setName("btnPrevious");
|
btnPrevious.setName("btnPrevious");
|
||||||
btnPrevious.setImage("/images/Previous24.gif");
|
btnPrevious.setImage("/images/Previous24.gif");
|
||||||
btnPrevious.setTooltip(Msg.getMsg(Env.getCtx(),"Previous"));
|
btnPrevious.setTooltiptext(Msg.getMsg(Env.getCtx(),"Previous"));
|
||||||
|
|
||||||
btnNext = new ToolBarButton("");
|
btnNext = new ToolBarButton("");
|
||||||
btnNext.setName("btnNext");
|
btnNext.setName("btnNext");
|
||||||
btnNext.setImage("/images/Next24.gif");
|
btnNext.setImage("/images/Next24.gif");
|
||||||
btnNext.setTooltip(Msg.getMsg(Env.getCtx(),"Next"));
|
btnNext.setTooltiptext(Msg.getMsg(Env.getCtx(),"Next"));
|
||||||
|
|
||||||
btnLast = new ToolBarButton("");
|
btnLast = new ToolBarButton("");
|
||||||
btnLast.setName("btnLast");
|
btnLast.setName("btnLast");
|
||||||
btnLast.setImage("/images/Last24.gif");
|
btnLast.setImage("/images/Last24.gif");
|
||||||
btnLast.setTooltip(Msg.getMsg(Env.getCtx(),"Last"));
|
btnLast.setTooltiptext(Msg.getMsg(Env.getCtx(),"Last"));
|
||||||
|
|
||||||
// --
|
// --
|
||||||
btnReport = new ToolBarButton("");
|
btnReport = new ToolBarButton("");
|
||||||
btnReport.setName("btnReport");
|
btnReport.setName("btnReport");
|
||||||
btnReport.setImage("/images/Report24.gif");
|
btnReport.setImage("/images/Report24.gif");
|
||||||
btnReport.setTooltip(Msg.getMsg(Env.getCtx(),"Report"));
|
btnReport.setTooltiptext(Msg.getMsg(Env.getCtx(),"Report"));
|
||||||
|
|
||||||
btnArchive = new ToolBarButton("");
|
btnArchive = new ToolBarButton("");
|
||||||
btnArchive.setName("btnArchive");
|
btnArchive.setName("btnArchive");
|
||||||
btnArchive.setImage("/images/Archive24.gif");
|
btnArchive.setImage("/images/Archive24.gif");
|
||||||
btnArchive.setTooltip(Msg.getMsg(Env.getCtx(),"Archive"));
|
btnArchive.setTooltiptext(Msg.getMsg(Env.getCtx(),"Archive"));
|
||||||
|
|
||||||
btnPrint = new ToolBarButton("");
|
btnPrint = new ToolBarButton("");
|
||||||
btnPrint.setName("btnPrint");
|
btnPrint.setName("btnPrint");
|
||||||
btnPrint.setImage("/images/Print24.gif");
|
btnPrint.setImage("/images/Print24.gif");
|
||||||
btnPrint.setTooltip(Msg.getMsg(Env.getCtx(),"Print"));
|
btnPrint.setTooltiptext(Msg.getMsg(Env.getCtx(),"Print"));
|
||||||
|
|
||||||
// --
|
// --
|
||||||
btnZoomAcross = new ToolBarButton("");
|
btnZoomAcross = new ToolBarButton("");
|
||||||
btnZoomAcross.setName("btnZoomAcross");
|
btnZoomAcross.setName("btnZoomAcross");
|
||||||
btnZoomAcross.setImage("/images/ZoomAcross24.gif");
|
btnZoomAcross.setImage("/images/ZoomAcross24.gif");
|
||||||
btnZoomAcross.setTooltip(Msg.getMsg(Env.getCtx(),"ZoomAcross"));
|
btnZoomAcross.setTooltiptext(Msg.getMsg(Env.getCtx(),"ZoomAcross"));
|
||||||
|
|
||||||
btnActiveWorkflows = new ToolBarButton("");
|
btnActiveWorkflows = new ToolBarButton("");
|
||||||
btnActiveWorkflows.setName("btnActiveWorkflows");
|
btnActiveWorkflows.setName("btnActiveWorkflows");
|
||||||
btnActiveWorkflows.setImage("/images/WorkFlow24.gif");
|
btnActiveWorkflows.setImage("/images/WorkFlow24.gif");
|
||||||
btnActiveWorkflows.setTooltip(Msg.getMsg(Env.getCtx(),"WorkFlow"));
|
btnActiveWorkflows.setTooltiptext(Msg.getMsg(Env.getCtx(),"WorkFlow"));
|
||||||
|
|
||||||
btnRequests = new ToolBarButton("");
|
btnRequests = new ToolBarButton("");
|
||||||
btnRequests.setName("btnRequests");
|
btnRequests.setName("btnRequests");
|
||||||
btnRequests.setImage("/images/Request24.gif");
|
btnRequests.setImage("/images/Request24.gif");
|
||||||
btnRequests.setTooltip(Msg.getMsg(Env.getCtx(),"Request"));
|
btnRequests.setTooltiptext(Msg.getMsg(Env.getCtx(),"Request"));
|
||||||
|
|
||||||
btnProductInfo = new ToolBarButton("");
|
btnProductInfo = new ToolBarButton("");
|
||||||
btnProductInfo.setName("btnProductInfo");
|
btnProductInfo.setName("btnProductInfo");
|
||||||
btnProductInfo.setImage("/images/Product24.gif");
|
btnProductInfo.setImage("/images/Product24.gif");
|
||||||
btnProductInfo.setTooltip(Msg.getMsg(Env.getCtx(),"InfoProduct"));
|
btnProductInfo.setTooltiptext(Msg.getMsg(Env.getCtx(),"InfoProduct"));
|
||||||
|
|
||||||
// btnExit = new ToolBarButton("");
|
// btnExit = new ToolBarButton("");
|
||||||
// btnExit.setName("btnExit");
|
// btnExit.setName("btnExit");
|
||||||
|
|
|
@ -49,12 +49,13 @@ public abstract class ADForm extends Window implements EventListener
|
||||||
logger = CLogger.getCLogger(ADForm.class);
|
logger = CLogger.getCLogger(ADForm.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** The form's title (for display purposes) */
|
|
||||||
private String m_title;
|
|
||||||
/** The unique identifier of the form type */
|
/** The unique identifier of the form type */
|
||||||
private int m_adFormId;
|
private int m_adFormId;
|
||||||
/** The identifying number of the window in which the form is housed */
|
/** The identifying number of the window in which the form is housed */
|
||||||
protected int m_windowNo;
|
protected int m_windowNo;
|
||||||
|
|
||||||
|
|
||||||
|
private String m_name;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
@ -97,22 +98,20 @@ public abstract class ADForm extends Window implements EventListener
|
||||||
}
|
}
|
||||||
|
|
||||||
m_adFormId = adFormId;
|
m_adFormId = adFormId;
|
||||||
m_title = name;
|
//window title
|
||||||
|
setTitle(name);
|
||||||
|
m_name = name;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Accessor for the form's title
|
* @return form name
|
||||||
*
|
|
||||||
* @return the title of the form
|
|
||||||
*/
|
*/
|
||||||
public String getTitle()
|
public String getFormName() {
|
||||||
{
|
return m_name;
|
||||||
return m_title;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convert the rich client class name for a form to its web UI equivalent
|
* Convert the rich client class name for a form to its web UI equivalent
|
||||||
*
|
*
|
||||||
|
|
|
@ -61,7 +61,7 @@ public class MenuSearchPanel extends Panel implements EventListener
|
||||||
{
|
{
|
||||||
lblSearch = new Label();
|
lblSearch = new Label();
|
||||||
lblSearch.setValue(Msg.getMsg(Env.getCtx(),"TreeSearch").replaceAll("&", "") + ":");
|
lblSearch.setValue(Msg.getMsg(Env.getCtx(),"TreeSearch").replaceAll("&", "") + ":");
|
||||||
lblSearch.setTooltip(Msg.getMsg(Env.getCtx(),"TreeSearchText"));
|
lblSearch.setTooltiptext(Msg.getMsg(Env.getCtx(),"TreeSearchText"));
|
||||||
|
|
||||||
cmbSearch = new AutoComplete();
|
cmbSearch = new AutoComplete();
|
||||||
cmbSearch.setAutodrop(true);
|
cmbSearch.setAutodrop(true);
|
||||||
|
|
|
@ -137,6 +137,7 @@ tr.tab-desktop-tb-m {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
margin: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.adwindow-status {
|
.adwindow-status {
|
||||||
|
|
Loading…
Reference in New Issue