Package org.apache.shale.view

Examples of org.apache.shale.view.ViewControllerMapper


        }

        // Live lookup of the appropriate mapper as a managed bean
        ValueBinding vb = context.getApplication().createValueBinding
          ("#{" + Constants.VIEW_MAPPER + "}");
        ViewControllerMapper vcm = (ViewControllerMapper) vb.getValue(context);
        return vcm;

    }
View Full Code Here


        if (log.isDebugEnabled()) {
            log.debug("setupViewController(" + viewId + "," + postBack + ")");
        }

        // Map our view identifier to a corresponding managed bean name
        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

Related Classes of org.apache.shale.view.ViewControllerMapper

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.