Examples of MenuRendererSelectorLocator


Examples of com.volantis.mcs.papi.menu.MenuRendererSelectorLocator

            // If a menu is completed (i.e. this is not nested) then need to
            // process it and output against specific renderer and markup.
            if (menu != null) {
                // Obtain a suitable renderer
                MenuRendererSelectorLocator rendererLocator =
                        pageContext.getRendererLocator();
                MenuRendererSelector rendererSelector =
                        rendererLocator.getMenuRendererSelector(pageContext);
                if (rendererSelector == null) {
                    logger.error("selector-rendering-error", "menu");
                    throw new PAPIException(exceptionLocalizer.format(
                            "missing-renderer-selector", "menu"));
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.