Package ariba.ui.aribaweb.util

Examples of ariba.ui.aribaweb.util.AWNodeManager


        //
        // construct the filename
        //
        // awres/brand/brandVersion/resourceVersion/blah/blah/filename.jpg
        String[] requestHandlerPathComponents = request.requestHandlerPath();
        AWNodeManager nodeManager = application.getNodeManager();
        if (nodeManager != null) {
            requestHandlerPathComponents =
                nodeManager.filterUrlForNodeValidation(requestHandlerPathComponents);
        }
        String brandName = requestHandlerPathComponents[1];
        String brandVersion = requestHandlerPathComponents[2];
        // requestHandlerPathComponents[3] (resource version) is only used for cache busting
        String filename = requestHandlerPathComponents[AWResActionResourceIndex];
View Full Code Here


                            AWDirectActionUrl.checkoutUrl();
                url.setDirectActionName(AWDirectAction.AWImgActionName);
                url.put("name", filename);
                imageUrl = url.finishUrl();
                if (useFullUrl) {
                    AWNodeManager nodeManager = application.getNodeManager();
                    if (nodeManager != null) {
                        imageUrl = nodeManager.prepareUrlForNodeValidation(imageUrl);
                    }
                }
            }
            Log.aribawebResource_brand.debug("AWBaseImage: imageUrl() directConnect %s", imageUrl);
        }
View Full Code Here

TOP

Related Classes of ariba.ui.aribaweb.util.AWNodeManager

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.