Examples of mapViewId()


Examples of org.apache.shale.remoting.Mapping.mapViewId()

        // Match this view identifier against our configured patterns
        Iterator mappings = helper.getMappings(context).getMappings().iterator();
        while (mappings.hasNext()) {
            Mapping mapping = (Mapping) mappings.next();
            String resourceId = mapping.mapViewId(context);
            if (resourceId != null) {
                if (log().isTraceEnabled()) {
                    log().trace("View identifier '" + context.getViewRoot().getViewId()
                                + "' matched pattern '" + mapping.getPattern()
                                + "' with resource id '" + resourceId + "'");
View Full Code Here

Examples of org.apache.shale.view.ViewControllerMapper.mapViewId()

        ViewControllerMapper viewControllerMapper = getViewControllerMapper(context);
        if (viewControllerMapper == null) {
            log.warn(messages.getMessage("view.noViewControllerMapper"));
            return;
        }
        String viewName = viewControllerMapper.mapViewId(viewId);

        // Retrieve an existing instance, or one created and configured by
        // the managed bean facility
        Object vc = null;
        VariableResolver vr =
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.