Package douyu.mvc

Examples of douyu.mvc.ViewManager


    throw new ViewException("No ViewManager for 'ViewManager.out()', controller='" + controllerClassName + "', attion='"
        + actionName + "'.");
  }

  private void outView(ViewManagerProvider vmp, String viewFileName) {
    ViewManager vm = vmp.getViewManager(this);
    if (vm == null)
      throw new ViewException("No ViewManager for view file: " + viewFileName);

    for (Map.Entry<String, Object> e : viewArgs.entrySet()) {
      vm.put(e.getKey(), e.getValue());
    }

    if (viewFileName == null)
      vm.out();
    else
      vm.out(viewFileName);
  }
View Full Code Here

TOP

Related Classes of douyu.mvc.ViewManager

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.