Package er.directtoweb.pages

Examples of er.directtoweb.pages.ERD2WPage


        }

        if (d2wContext != null) {
            NSMutableDictionary d2wInfo = informationForD2WContext(d2wContext);
            if (component instanceof ERD2WPage) {
                ERD2WPage currentPage = (ERD2WPage)component;
                String subTask = (String)d2wContext.valueForKey("subTask");
                if ("tab".equals(subTask) || "wizard".equals("subTask")) {
                    NSArray sections = currentPage.sectionsForCurrentTab();
                    d2wInfo.setObjectForKey(sections != null ? sections : "null", "D2W-SectionsContentsForCurrentTab");
                    d2wInfo.removeObjectForKey("D2W-TabSectionsContents");
                }
            }
            info.addEntriesFromDictionary(d2wInfo);
View Full Code Here


    public ERDBranchDelegateInterface branchDelegate() {
        if(branchDelegate == null) {
            WOComponent current = parent();
            while(current != null) {
                if(current instanceof ERD2WPage) {
                    ERD2WPage page = (ERD2WPage)current;
                    branchDelegate = page.pageController();
                    return branchDelegate;
                }
                current = current.parent();
            }
        }
View Full Code Here

      return false;
    }
   
    private Object tolerantValueForKeyPath(String key) {
        if (parent() instanceof ERD2WPage) {
            ERD2WPage page = (ERD2WPage) parent();
            return parent().valueForKeyPath(key);
        }       
        return null;
    }
View Full Code Here

TOP

Related Classes of er.directtoweb.pages.ERD2WPage

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.