Package org.zkoss.zk.ui.http

Examples of org.zkoss.zk.ui.http.WebManager


//    if (log.debugable()) log.debug("Starting DHtmlUpdateServlet at "+config.getServletContext());
    _ctx = config.getServletContext();
    _ctx.setAttribute(ATTR_UPDATE_SERVLET, this);

    final WebManager webman = WebManager.getWebManager(_ctx);
    String param = config.getInitParameter("compress");
    _compress = param == null || param.length() == 0 || "true".equals(param);
    if (!_compress)
      webman.getClassWebResource().setCompress(null); //disable all

    //Copies au extensions defined before DHtmlUpdateServlet is started
    final WebApp wapp = webman.getWebApp();
    final Map aues = (Map)wapp.getAttribute(ATTR_AU_PROCESSORS);
    if (aues != null) {
      for (Iterator it = aues.entrySet().iterator(); it.hasNext();) {
        final Map.Entry me = (Map.Entry)it.next();
        addAuExtension((String)me.getKey(), (AuExtension)me.getValue());
View Full Code Here


    private WebApp _webApp;
   
  private void setupZkFlowListeners() {
    if (_webApp == null) {
      final WebManager webman = WebManager.getWebManager(getServletContext());
      _webApp = webman.getWebApp();
      Configuration conf = _webApp.getConfiguration();
      try {
        conf.addListener(ZkFlowControllerListener.class);
        conf.addListener(ZkFlowResourceListener.class);
      } catch (Exception e) {
View Full Code Here

        }
       
        request.setAttribute(FILTER_APPLIED, Boolean.TRUE);
       
    if (_webApp == null) {
      final WebManager webman = WebManager.getWebManager(((HttpServletRequest) request).getSession(false).getServletContext());
      _webApp = webman.getWebApp();
    }
   
        final Desktop desktop = (Desktop) request.getAttribute(ATTR_DESKTOP);
        if (desktop == null) {
          final String dtid = request.getParameter("dt");
View Full Code Here

TOP

Related Classes of org.zkoss.zk.ui.http.WebManager

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.