Package org.jabusuite.webclient.tables

Examples of org.jabusuite.webclient.tables.JbsBaseObjectSelectionListener


     */
    public void setTblMain(TblPageableJbsBaseObject tblMain, boolean addStdSelectionListener) {
        this.tblMain = tblMain;

        if ((this.tblMain != null) && (addStdSelectionListener)) {
            this.getTblMain().addJbsBaseObjectSelectionListener(new JbsBaseObjectSelectionListener() {

                private static final long serialVersionUID = -1913036714688683335L;

                public void rowSelected(JbsBaseObjectSelectionEvent e) {
                    logger.debug("Selection: " + String.valueOf(e.getJbsBaseObject().getId()));
View Full Code Here


    @Override
    protected void initPanel() throws Exception {
        super.initPanel();
        this.setContactType(ContactType.CT_CUSTOMER);
        this.getTblMain().addJbsBaseObjectSelectionListener(new JbsBaseObjectSelectionListener() {

            public void rowSelected(JbsBaseObjectSelectionEvent e) {
                if (getParentCustomer()==null) //panel for main-customers - tell parent to shiw the sub-customers
                    getParentPanel().setParentCustomer((HierarchyCustomer)e.getJbsBaseObject());
            }
View Full Code Here

TOP

Related Classes of org.jabusuite.webclient.tables.JbsBaseObjectSelectionListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.