Search in sources :

Example 36 with Row

use of org.adempiere.webui.component.Row in project adempiere by adempiere.

the class WMRPDetailed method statInit.

private void statInit() throws Exception {
    //Resource Lookup 
    // Base Language
    Language language = Language.getLoginLanguage();
    MLookup resourceL = MLookupFactory.get(getCtx(), p_WindowNo, MColumn.getColumn_ID(MResource.Table_Name, MResource.COLUMNNAME_S_Resource_ID), DisplayType.TableDir, language, MResource.COLUMNNAME_S_Resource_ID, 0, false, MResource.Table_Name + "." + MResource.COLUMNNAME_ManufacturingResourceType + "= '" + MResource.MANUFACTURINGRESOURCETYPE_Plant + "'");
    fResource_ID = new WSearchEditor(MPPMRP.COLUMNNAME_S_Resource_ID, false, false, true, resourceL) {

        private final long serialVersionUID = 1L;

        public void setValue(Object arg0) {
            super.setValue(arg0);
        }

        ;
    };
    fPlanner_ID = new WSearchEditor(MPPMRP.COLUMNNAME_Planner_ID, false, false, true, MLookupFactory.get(getCtx(), p_WindowNo, 0, MColumn.getColumn_ID(MPPProductPlanning.Table_Name, MPPMRP.COLUMNNAME_Planner_ID), DisplayType.Table)) {

        private final long serialVersionUID = 1L;

        public void setValue(Object arg0) {
            super.setValue(arg0);
        }

        ;
    };
    fWarehouse_ID = new WSearchEditor(MPPMRP.COLUMNNAME_M_Warehouse_ID, false, false, true, MLookupFactory.get(getCtx(), p_WindowNo, 0, MColumn.getColumn_ID(MWarehouse.Table_Name, MPPMRP.COLUMNNAME_M_Warehouse_ID), DisplayType.TableDir)) {

        private final long serialVersionUID = 1L;

        public void setValue(Object arg0) {
            super.setValue(arg0);
        }

        ;
    };
    fMaster.setSelected(false);
    fMaster.setEnabled(false);
    fMRPReq.setSelected(false);
    fMRPReq.setEnabled(false);
    fCreatePlan.setSelected(false);
    fCreatePlan.setEnabled(false);
    lUOM.setText(Msg.translate(getCtx(), MUOM.COLUMNNAME_C_UOM_ID));
    fUOM.setReadonly(true);
    lType.setText(Msg.translate(getCtx(), MPPProductPlanning.COLUMNNAME_Order_Policy));
    fType.setReadonly(true);
    lOrderPeriod.setText(Msg.translate(getCtx(), MPPProductPlanning.COLUMNNAME_Order_Period));
    fOrderPeriod.setReadWrite(false);
    lTimefence.setText(Msg.translate(getCtx(), MPPProductPlanning.COLUMNNAME_TimeFence));
    fTimefence.setReadWrite(false);
    lLeadtime.setText(Msg.translate(getCtx(), MPPProductPlanning.COLUMNNAME_DeliveryTime_Promised));
    fLeadtime.setReadWrite(false);
    lMinOrd.setText(Msg.translate(getCtx(), MPPProductPlanning.COLUMNNAME_Order_Min));
    fMinOrd.setReadWrite(false);
    lMaxOrd.setText(Msg.translate(getCtx(), MPPProductPlanning.COLUMNNAME_Order_Max));
    fMaxOrd.setReadWrite(false);
    lOrdMult.setText(Msg.translate(getCtx(), MPPProductPlanning.COLUMNNAME_Order_Pack));
    fOrdMult.setReadWrite(false);
    lOrderQty.setText(Msg.translate(getCtx(), MPPProductPlanning.COLUMNNAME_Order_Qty));
    fOrderQty.setReadWrite(false);
    lYield.setText(Msg.translate(getCtx(), MPPProductPlanning.COLUMNNAME_Yield));
    fYield.setReadWrite(false);
    lOnhand.setText(Msg.translate(getCtx(), MStorage.COLUMNNAME_QtyOnHand));
    fOnhand.setReadWrite(false);
    lSafetyStock.setText(Msg.translate(getCtx(), MPPProductPlanning.COLUMNNAME_SafetyStock));
    fSafetyStock.setReadWrite(false);
    lReserved.setText(Msg.translate(getCtx(), MStorage.COLUMNNAME_QtyReserved));
    fReserved.setReadWrite(false);
    lAvailable.setText(Msg.translate(getCtx(), "QtyAvailable"));
    fAvailable.setReadWrite(false);
    lOrdered.setText(Msg.translate(getCtx(), MPPOrder.COLUMNNAME_QtyOrdered));
    fOrdered.setReadWrite(false);
    //Product Lookup
    fProduct_ID = new WSearchEditor(MPPMRP.COLUMNNAME_M_Product_ID, true, false, true, MLookupFactory.get(getCtx(), p_WindowNo, 0, MColumn.getColumn_ID(MProduct.Table_Name, MPPMRP.COLUMNNAME_M_Product_ID), DisplayType.Search)) {

        private final long serialVersionUID = 1L;

        public void setValue(Object arg0) {
            super.setValue(arg0);
        }

        ;
    };
    fMaster.setText(Msg.translate(getCtx(), MPPProductPlanning.COLUMNNAME_IsMPS));
    fMRPReq.setText(Msg.translate(getCtx(), MPPProductPlanning.COLUMNNAME_IsRequiredMRP));
    fCreatePlan.setText(Msg.translate(getCtx(), MPPProductPlanning.COLUMNNAME_IsCreatePlan));
    //AttributeSet Button
    fAttrSetInstance_ID = new Button() {

        private final long serialVersionUID = 1L;

        private Object m_value;

        public void setLabel(String text) {
            if (text == null) {
                text = "---";
            }
            if (text.length() > 23) {
                text = text.substring(0, 20) + "...";
            }
            super.setLabel(text);
        }

        public void setValue(Object arg0) {
            m_value = arg0;
            int i = (arg0 instanceof Integer) ? ((Integer) arg0).intValue() : 0;
            if (i == 0) {
                setLabel(null);
            }
        }

        public Object getValue() {
            return m_value;
        }
    };
    fAttrSetInstance_ID.addActionListener(new EventListener() {

        @Override
        public void onEvent(Event event) throws Exception {
            selectAttributeSetInstance();
        }
    });
    //
    fDateFrom.getComponent().setTooltiptext(Msg.translate(getCtx(), MLot.COLUMNNAME_DateFrom));
    fDateTo.getComponent().setTooltiptext(Msg.translate(getCtx(), MLot.COLUMNNAME_DateTo));
    fSupplyType = new WSearchEditor(MPPMRP.COLUMNNAME_TypeMRP, false, false, true, MLookupFactory.get(getCtx(), p_WindowNo, 0, MColumn.getColumn_ID(MPPMRP.Table_Name, MPPMRP.COLUMNNAME_TypeMRP), DisplayType.List));
    Rows rows = null;
    Row row = null;
    rows = new Rows();
    rows.setParent(parameterPanel);
    //  1st Row
    row = rows.newRow();
    row.appendChild(lProduct_ID.rightAlign());
    row.appendChild(fProduct_ID.getComponent());
    row.appendChild(lUOM.rightAlign());
    row.appendChild(fUOM);
    row.appendChild(lType.rightAlign());
    row.appendChild(fType);
    //  2nd Row
    row = rows.newRow();
    row.appendChild(lAttrSetInstance_ID.rightAlign());
    row.appendChild(fAttrSetInstance_ID);
    row.appendChild(lOnhand.rightAlign());
    row.appendChild(fOnhand.getComponent());
    row.appendChild(lOrderPeriod.rightAlign());
    row.appendChild(fOrderPeriod.getComponent());
    //  3rd Row
    row = rows.newRow();
    row.appendChild(lPlanner_ID.rightAlign());
    row.appendChild(fPlanner_ID.getComponent());
    row.appendChild(lSafetyStock.rightAlign());
    row.appendChild(fSafetyStock.getComponent());
    row.appendChild(lMinOrd.rightAlign());
    row.appendChild(fMinOrd.getComponent());
    //  4th Row
    row = rows.newRow();
    row.appendChild(lWarehouse_ID.rightAlign());
    row.appendChild(fWarehouse_ID.getComponent());
    row.appendChild(lReserved.rightAlign());
    row.appendChild(fReserved.getComponent());
    row.appendChild(lMaxOrd.rightAlign());
    row.appendChild(fMaxOrd.getComponent());
    //  5th Row
    row = rows.newRow();
    row.appendChild(lResource_ID.rightAlign());
    row.appendChild(fResource_ID.getComponent());
    row.appendChild(lAvailable.rightAlign());
    row.appendChild(fAvailable.getComponent());
    row.appendChild(lOrdMult.rightAlign());
    row.appendChild(fOrdMult.getComponent());
    //  6th Row
    row = rows.newRow();
    row.appendChild(lDateFrom.rightAlign());
    row.appendChild(fDateFrom.getComponent());
    row.appendChild(lOrdered.rightAlign());
    row.appendChild(fOrdered.getComponent());
    row.appendChild(lOrderQty.rightAlign());
    row.appendChild(fOrderQty.getComponent());
    //  7th Row
    row = rows.newRow();
    row.appendChild(lDateTo.rightAlign());
    row.appendChild(fDateTo.getComponent());
    row.appendChild(new Space());
    row.appendChild(new Space());
    row.appendChild(lTimefence.rightAlign());
    row.appendChild(fTimefence.getComponent());
    //  8th Row
    row = rows.newRow();
    row.appendChild(new Space());
    row.appendChild(fMaster);
    row.appendChild(new Space());
    row.appendChild(fCreatePlan);
    row.appendChild(lLeadtime.rightAlign());
    row.appendChild(fLeadtime.getComponent());
    //  9th Row
    row = rows.newRow();
    row.appendChild(new Space());
    row.appendChild(new Space());
    row.appendChild(new Space());
    row.appendChild(fMRPReq);
    row.appendChild(lYield.rightAlign());
    row.appendChild(fYield.getComponent());
}
Also used : Space(org.zkoss.zul.Space) MLookup(org.compiere.model.MLookup) DBException(org.adempiere.exceptions.DBException) SQLException(java.sql.SQLException) Language(org.compiere.util.Language) Button(org.adempiere.webui.component.Button) WSearchEditor(org.adempiere.webui.editor.WSearchEditor) Event(org.zkoss.zk.ui.event.Event) WTableModelEvent(org.adempiere.webui.event.WTableModelEvent) ListDataEvent(org.zkoss.zul.event.ListDataEvent) EventListener(org.zkoss.zk.ui.event.EventListener) Row(org.adempiere.webui.component.Row) Rows(org.adempiere.webui.component.Rows)

Example 37 with Row

use of org.adempiere.webui.component.Row in project adempiere by adempiere.

the class WPAPanel method init.

/**
	 * 	Static/Dynamic Init
	 */
private void init() {
    Grid grid = new Grid();
    appendChild(grid);
    //grid.setWidth("100%");
    //grid.setStyle("margin:0; padding:0; position: absolute;");
    grid.makeNoStrip();
    grid.setOddRowSclass("even");
    Rows rows = new Rows();
    grid.appendChild(rows);
    for (int i = 0; i < m_goals.length; i++) {
        Row row = new Row();
        rows.appendChild(row);
        WPerformanceIndicator pi = new WPerformanceIndicator(m_goals[i]);
        row.appendCellChild(pi);
        pi.addEventListener(Events.ON_CLICK, this);
    }
}
Also used : Grid(org.adempiere.webui.component.Grid) Row(org.adempiere.webui.component.Row) Rows(org.adempiere.webui.component.Rows)

Example 38 with Row

use of org.adempiere.webui.component.Row in project adempiere by adempiere.

the class WPayment method zkInit.

/**
	 *	Static Init
	 *  @throws Exception
	 */
private void zkInit() throws Exception {
    this.appendChild(mainPanel);
    mainPanel.appendChild(mainLayout);
    mainPanel.setStyle("width: 100%; height: 100%; padding: 0; margin: 0");
    mainLayout.setHeight("100%");
    mainLayout.setWidth("100%");
    Center center = new Center();
    mainLayout.appendChild(center);
    center.appendChild(centerPanel);
    //
    paymentLabel.setText(Msg.translate(Env.getCtx(), "PaymentRule"));
    North north = new North();
    north.setStyle("border: none");
    mainLayout.appendChild(north);
    north.appendChild(northPanel);
    northPanel.appendChild(paymentLabel);
    northPanel.appendChild(new Space());
    northPanel.appendChild(paymentCombo);
    //
    //      CreditCard
    kPanel.appendChild(kLayout);
    kNumberField.setWidth("160pt");
    kExpField.setWidth("40pt");
    kApprovalField.setWidth("120pt");
    kTypeLabel.setText(Msg.translate(Env.getCtx(), "CreditCardType"));
    kNumberLabel.setText(Msg.translate(Env.getCtx(), "CreditCardNumber"));
    kExpLabel.setText(Msg.getMsg(Env.getCtx(), "Expires"));
    kApprovalLabel.setText(Msg.translate(Env.getCtx(), "VoiceAuthCode"));
    kAmountLabel.setText(Msg.getMsg(Env.getCtx(), "Amount"));
    kOnline.setLabel(Msg.getMsg(Env.getCtx(), "Online"));
    ThemeUtils.addSclass("action-text-button", kOnline);
    kOnline.addActionListener(this);
    kStatus.setText(" ");
    kPanel.setId("kPanel");
    centerPanel.appendChild(kPanel);
    centerLayout.add(kPanel);
    Rows rows = kLayout.newRows();
    Row row = rows.newRow();
    row.appendChild(kTypeLabel.rightAlign());
    row.appendChild(kTypeCombo);
    row.appendChild(new Space());
    row.appendChild(new Space());
    row = rows.newRow();
    row.appendChild(kNumberLabel.rightAlign());
    row.appendChild(kNumberField);
    row.appendChild(new Space());
    row.appendChild(new Space());
    row = rows.newRow();
    row.appendChild(kExpLabel.rightAlign());
    row.appendChild(kExpField);
    row.appendChild(new Space());
    row.appendChild(new Space());
    row = rows.newRow();
    row.appendChild(kAmountLabel.rightAlign());
    row.appendChild(kAmountField.getComponent());
    row.appendChild(new Space());
    row.appendChild(new Space());
    row = rows.newRow();
    row.appendChild(kApprovalLabel.rightAlign());
    row.appendChild(kApprovalField);
    row.appendChild(new Space());
    row.appendChild(kOnline);
    row = rows.newRow();
    row.setSpans("3,1");
    row.appendChild(kStatus);
    row.appendChild(new Space());
    //	DircetDebit/Credit
    tPanel.appendChild(tPanelLayout);
    tAccountLabel.setText(Msg.translate(Env.getCtx(), "C_BP_BankAccount_ID"));
    tRoutingField.setCols(8);
    tNumberField.setCols(10);
    tRoutingText.setText(Msg.translate(Env.getCtx(), "RoutingNo"));
    tNumberText.setText(Msg.translate(Env.getCtx(), "AccountNo"));
    tOnline.setLabel(Msg.getMsg(Env.getCtx(), "Online"));
    ThemeUtils.addSclass("action-text-button", tOnline);
    tStatus.setText(" ");
    tPanel.setId("tPanel");
    centerPanel.appendChild(tPanel);
    centerLayout.add(tPanel);
    rows = tPanelLayout.newRows();
    row = rows.newRow();
    row.appendChild(tAccountLabel.rightAlign());
    row.appendChild(tAccountCombo);
    row.appendChild(new Space());
    row.appendChild(new Space());
    row = rows.newRow();
    row.appendChild(tRoutingText.rightAlign());
    row.appendChild(tRoutingField);
    row.appendChild(new Space());
    row.appendChild(new Space());
    row = rows.newRow();
    row.appendChild(tNumberText.rightAlign());
    row.appendChild(tNumberField);
    row.appendChild(new Space());
    row.appendChild(tOnline);
    row = rows.newRow();
    row.setSpans("3,1");
    row.appendChild(tStatus);
    row.appendChild(new Space());
    // Cheque
    sPanel.appendChild(sPanelLayout);
    sBankAccountLabel.setText(Msg.translate(Env.getCtx(), "C_BankAccount_ID"));
    sAmountLabel.setText(Msg.getMsg(Env.getCtx(), "Amount"));
    sRoutingLabel.setText(Msg.translate(Env.getCtx(), "RoutingNo"));
    sNumberLabel.setText(Msg.translate(Env.getCtx(), "AccountNo"));
    sCheckLabel.setText(Msg.translate(Env.getCtx(), "CheckNo"));
    sCheckField.setCols(8);
    sCurrencyLabel.setText(Msg.translate(Env.getCtx(), "C_Currency_ID"));
    sNumberField.setWidth("100pt");
    sRoutingField.setWidth("70pt");
    sStatus.setText(" ");
    sOnline.setLabel(Msg.getMsg(Env.getCtx(), "Online"));
    ThemeUtils.addSclass("action-text-button", sOnline);
    sPanel.setId("sPanel");
    centerPanel.appendChild(sPanel);
    centerLayout.add(sPanel);
    rows = sPanelLayout.newRows();
    row = rows.newRow();
    row.appendChild(sBankAccountLabel.rightAlign());
    row.appendChild(sBankAccountCombo);
    row.appendChild(new Space());
    row.appendChild(new Space());
    row = rows.newRow();
    row.appendChild(sCurrencyLabel.rightAlign());
    row.appendChild(sCurrencyCombo);
    row.appendChild(new Space());
    row.appendChild(new Space());
    row = rows.newRow();
    row.appendChild(sAmountLabel.rightAlign());
    row.appendChild(sAmountField.getComponent());
    row.appendChild(new Space());
    row.appendChild(new Space());
    row = rows.newRow();
    row.appendChild(sRoutingLabel.rightAlign());
    row.appendChild(sRoutingField);
    row.appendChild(new Space());
    row.appendChild(new Space());
    row = rows.newRow();
    row.appendChild(sNumberLabel.rightAlign());
    row.appendChild(sNumberField);
    row.appendChild(new Space());
    row.appendChild(new Space());
    row = rows.newRow();
    row.appendChild(sCheckLabel.rightAlign());
    row.appendChild(sCheckField);
    row.appendChild(new Space());
    row.appendChild(sOnline);
    row = rows.newRow();
    row.setSpans("3,1");
    row.appendChild(sStatus);
    row.appendChild(new Space());
    // Cash
    pPanel.appendChild(pPanelLayout);
    pTermLabel.setText(Msg.translate(Env.getCtx(), "C_PaymentTerm_ID"));
    pPanel.setId("pPanel");
    centerPanel.appendChild(pPanel);
    centerLayout.add(pPanel);
    rows = pPanelLayout.newRows();
    row = rows.newRow();
    row.appendChild(pTermLabel.rightAlign());
    row.appendChild(pTermCombo);
    //
    bCashBookLabel.setText(Msg.translate(Env.getCtx(), "C_CashBook_ID"));
    bCurrencyLabel.setText(Msg.translate(Env.getCtx(), "C_Currency_ID"));
    bPanel.appendChild(bPanelLayout);
    bAmountLabel.setText(Msg.getMsg(Env.getCtx(), "Amount"));
    //bAmountField.setText("");
    bDateLabel.setText(Msg.translate(Env.getCtx(), "DateAcct"));
    bPanel.setId("bPanel");
    centerPanel.appendChild(bPanel);
    centerLayout.add(bPanel);
    rows = bPanelLayout.newRows();
    row = rows.newRow();
    if (m_Cash_As_Payment) {
        bBankAccountLabel.setText(Msg.translate(Env.getCtx(), "C_BankAccount_ID"));
        row.appendChild(bBankAccountLabel.rightAlign());
        row.appendChild(bBankAccountCombo);
    } else {
        row.appendChild(bCashBookLabel.rightAlign());
        row.appendChild(bCashBookCombo);
    }
    row = rows.newRow();
    row.appendChild(bCurrencyLabel.rightAlign());
    row.appendChild(bCurrencyCombo);
    row = rows.newRow();
    row.appendChild(bDateLabel.rightAlign());
    row.appendChild(bDateField.getComponent());
    row = rows.newRow();
    row.appendChild(bAmountLabel.rightAlign());
    row.appendChild(bAmountField.getComponent());
    //
    South south = new South();
    south.setStyle("border: none");
    mainLayout.appendChild(south);
    south.appendChild(confirmPanel);
    confirmPanel.addActionListener(this);
}
Also used : Space(org.zkoss.zul.Space) Center(org.zkoss.zul.Center) South(org.zkoss.zul.South) North(org.zkoss.zul.North) Row(org.adempiere.webui.component.Row) Rows(org.adempiere.webui.component.Rows)

Example 39 with Row

use of org.adempiere.webui.component.Row in project adempiere by adempiere.

the class WStocktake method zkInit.

//	init
/**
	 *  Static Init
	 *  @throws Exception
	 */
void zkInit() throws Exception {
    form.appendChild(mainPanel);
    mainPanel.setStyle("width: 99%; height: 100%; border: none; padding: 0; margin: 0");
    mainPanel.appendChild(mainLayout);
    mainLayout.setWidth("100%");
    mainLayout.setHeight("100%");
    parameterPanel.appendChild(parameterLayout);
    //
    inventoryLabel.setText(Msg.translate(Env.getCtx(), "M_Inventory_ID"));
    locatorLabel.setText(Msg.translate(Env.getCtx(), "M_Locator_ID"));
    productLabel.setText(Msg.translate(Env.getCtx(), "M_Product_ID"));
    lineFLabel.setText(Msg.translate(Env.getCtx(), "Line") + " " + Msg.translate(Env.getCtx(), "From"));
    lineTLabel.setText(Msg.translate(Env.getCtx(), "Line") + " " + Msg.translate(Env.getCtx(), "To"));
    aislexLabel.setText(Msg.translate(Env.getCtx(), "X"));
    //
    North north = new North();
    mainLayout.appendChild(north);
    north.appendChild(parameterPanel);
    Rows rows = parameterLayout.newRows();
    Row row = rows.newRow();
    row.appendChild(inventoryLabel.rightAlign());
    row.appendChild(inventoryField.getComponent());
    row.appendChild(lineFLabel.rightAlign());
    row.appendChild(lineFField.getComponent());
    row.appendChild(lineTLabel.rightAlign());
    row.appendChild(lineTField.getComponent());
    row.appendChild(secondCount);
    row = rows.newRow();
    row.appendChild(aislexLabel.rightAlign());
    row.appendChild(aislexField.getComponent());
    row.appendChild(productLabel.rightAlign());
    row.appendChild(productField.getComponent());
    row.appendChild(locatorLabel.rightAlign());
    row.appendChild(locatorField.getComponent());
    //
    secondCount.setText(Msg.getMsg(Env.getCtx(), "Second Count"));
    secondCount.addActionListener(this);
    confirmPanel.getButton(ConfirmPanel.A_CUSTOMIZE).setLabel(Msg.translate(Env.getCtx(), "CountEntered"));
    southPanel.appendChild(confirmPanel);
    southPanel.appendChild(new Separator());
    southPanel.appendChild(statusBar);
    South south = new South();
    south.setStyle("border: none");
    mainLayout.appendChild(south);
    south.appendChild(southPanel);
    LayoutUtils.addSclass("status-border", statusBar);
}
Also used : South(org.zkoss.zkex.zul.South) North(org.zkoss.zkex.zul.North) Row(org.adempiere.webui.component.Row) Separator(org.zkoss.zul.Separator) Rows(org.adempiere.webui.component.Rows)

Example 40 with Row

use of org.adempiere.webui.component.Row in project adempiere by adempiere.

the class WTrxMaterial method zkInit.

//	init
/**
	 *  Static Init
	 *  @throws Exception
	 */
void zkInit() throws Exception {
    form.appendChild(mainPanel);
    mainPanel.setStyle("width: 99%; height: 100%; border: none; padding: 0; margin: 0");
    mainPanel.appendChild(mainLayout);
    mainLayout.setWidth("100%");
    mainLayout.setHeight("100%");
    parameterPanel.appendChild(parameterLayout);
    //
    orgLabel.setText(Msg.translate(Env.getCtx(), "AD_Org_ID"));
    locatorLabel.setText(Msg.translate(Env.getCtx(), "M_Locator_ID"));
    productLabel.setText(Msg.translate(Env.getCtx(), "Product"));
    dateFLabel.setText(Msg.translate(Env.getCtx(), "DateFrom"));
    dateTLabel.setText(Msg.translate(Env.getCtx(), "DateTo"));
    mtypeLabel.setText(Msg.translate(Env.getCtx(), "MovementType"));
    //
    North north = new North();
    mainLayout.appendChild(north);
    north.appendChild(parameterPanel);
    Rows rows = parameterLayout.newRows();
    Row row = rows.newRow();
    row.appendChild(orgLabel.rightAlign());
    row.appendChild(orgField.getComponent());
    row.appendChild(mtypeLabel.rightAlign());
    row.appendChild(mtypeField.getComponent());
    row.appendChild(dateFLabel.rightAlign());
    row.appendChild(dateFField.getComponent());
    row = rows.newRow();
    row.appendChild(locatorLabel.rightAlign());
    row.appendChild(locatorField.getComponent());
    row.appendChild(productLabel.rightAlign());
    row.appendChild(productField.getComponent());
    row.appendChild(dateTLabel.rightAlign());
    row.appendChild(dateTField.getComponent());
    //
    southPanel.appendChild(confirmPanel);
    southPanel.appendChild(new Separator());
    southPanel.appendChild(statusBar);
    South south = new South();
    south.setStyle("border: none");
    mainLayout.appendChild(south);
    south.appendChild(southPanel);
    LayoutUtils.addSclass("status-border", statusBar);
}
Also used : South(org.zkoss.zkex.zul.South) North(org.zkoss.zkex.zul.North) Row(org.adempiere.webui.component.Row) Separator(org.zkoss.zul.Separator) Rows(org.adempiere.webui.component.Rows)

Aggregations

Row (org.adempiere.webui.component.Row)79 Rows (org.adempiere.webui.component.Rows)69 Label (org.adempiere.webui.component.Label)29 Grid (org.adempiere.webui.component.Grid)24 Panel (org.adempiere.webui.component.Panel)20 Div (org.zkoss.zul.Div)18 Center (org.zkoss.zul.Center)15 Hbox (org.zkoss.zul.Hbox)15 Space (org.zkoss.zul.Space)14 ConfirmPanel (org.adempiere.webui.component.ConfirmPanel)12 Center (org.zkoss.zkex.zul.Center)11 Separator (org.zkoss.zul.Separator)11 North (org.zkoss.zkex.zul.North)10 Borderlayout (org.zkoss.zul.Borderlayout)9 North (org.zkoss.zul.North)9 South (org.zkoss.zkex.zul.South)8 South (org.zkoss.zul.South)8 Caption (org.zkoss.zul.Caption)6 Listbox (org.adempiere.webui.component.Listbox)5 WSearchEditor (org.adempiere.webui.editor.WSearchEditor)5