Package ariba.ui.aribaweb.core

Examples of ariba.ui.aribaweb.core.AWApplication


        String brandName, String version)
    {
        AWServletResourceManager srm = new AWServletResourceManager();
        srm.setBrandName(brandName);

        AWApplication application =
            (AWApplication)AWConcreteApplication.sharedInstance();
        application.getBrandManager().initBrandedResourceManager(
            this, srm, brandName, version);

        return srm;
    }
View Full Code Here


        setDelegate(new DefaultDelegate());
        registerComponentAliases();
        registerPackageNames(resourceManager());
        registerHandlers();
        AWApplication application = (AWApplication)AWConcreteApplication.sharedInstance();
        registerBrandingResources(application.resourceFilePath(), application.resourceURL());
        registerWidgetsResources("./", application.resourceFilePath(), application.resourceURL());
        initializeSubpackages();

        // force init of XML field value support
        if (!Widgets.initializeWithoutXMLNodeFieldValueClassExtension()) {
            XMLUtil.registerXMLNodeFieldValueClassExtension();
View Full Code Here

        AWConcreteApplication.IsSessionManagementEnabled = AWSessionManager != null;
    }

    private static AWMultiLocaleResourceManager resourceManager ()
    {
        AWApplication application = AWConcreteApplication.defaultApplication();
        return application.resourceManager();
    }
View Full Code Here

    // Static utility methods
    //

    private static AWNodeManager getNodeManager ()
    {
        AWApplication application = (AWApplication)AWConcreteApplication.sharedInstance();
        return application.getNodeManager();
    }
View Full Code Here

    }

    private static AWComponent pageWithName (String pageName,
                                             AWRequestContext requestContext)
    {
        AWApplication application = requestContext.application();
        return application.createPageWithName(pageName, requestContext);
    }
View Full Code Here

        if (directory == null || urlPrefix == null) {
            return null;
        }
       
        AWApplication application = AWConcreteApplication.defaultApplication();
        AWMultiLocaleResourceManager resourceManager = application.createResourceManager();

            // Register the app specific brand directory (e.g. brands/simple/Buyer)
        String appName = application.name();
        String appDirectory = StringUtil.strcat(directory, File.separator, appName);
        String appUrlPrefix = StringUtil.strcat(urlPrefix, "/", appName);
        resourceManager.registerResourceDirectory(appDirectory, appUrlPrefix);

            // Register the brand directory itself (e.g. brands/simple)
        resourceManager.registerResourceDirectory(directory, urlPrefix);

            // Chain to the default resource manager so non branded resources
            // are found.
        resourceManager.setNextResourceManager(application.resourceManager());
        return resourceManager;
    }
View Full Code Here

                    return override;
                }
            }
        }
        // Try to the application object
        AWApplication application = component.application();
        if (application instanceof ActionInterceptor) {
            ActionHandler override =
                ((ActionInterceptor)application).overrideAction(
                                            action, defaultHandler, requestContext);
            if (override != null && override != defaultHandler) {
View Full Code Here

TOP

Related Classes of ariba.ui.aribaweb.core.AWApplication

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.