Package er.directtoweb.delegates

Examples of er.directtoweb.delegates.ERDBranchDelegate


        public static NextPageDelegate instance=new _D2WPickActionDelegate ();
        public WOComponent nextPage(WOComponent sender) {
            WOComponent target = D2WEmbeddedComponent.findTarget(sender);
            WOComponent nextPage = null;
            if (target.hasBinding("branchDelegate")) {
                ERDBranchDelegate delegate = (ERDBranchDelegate)target.valueForBinding("branchDelegate");
                if (delegate == null) {
                    throw new RuntimeException("Null branch delegate. Sender: " + sender + " Target: " + target);
                } else {
                    nextPage = delegate.nextPage(sender);
                }
            } else {
                if (target.hasBinding("selectedObjects") && target.canSetValueForBinding("selectedObjects")) {
                    target.setValueForBinding(sender.valueForKey("selectedObjects"),"selectedObjects");
                }
View Full Code Here

TOP

Related Classes of er.directtoweb.delegates.ERDBranchDelegate

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.