code: @Override
  	protected void renderGlobalBundleLinks(BundleRendererContext ctx,
  			Writer out, boolean debugOn) throws IOException {
  
  		if (debugOn) {
  			addComment("Start adding DWR global members.", out);
  		}
  		// If DWR is being used, add a path var to the page
  		if (null != bundler.getConfig().getDwrMapping()) {
  
  			String contextPath = ctx.getContextPath();
  			StringBuffer sb = DWRParamWriter.buildRequestSpecificParams(
  					contextPath, PathNormalizer.joinPaths(contextPath, bundler
  							.getConfig().getDwrMapping()));
  			out.write(sb.toString());
  		}
  
  		if (debugOn) {
  			addComment("Finished adding DWR global members.", out);
  		}
  		
  		super.renderGlobalBundleLinks(ctx, out, debugOn);
  		
  	}
docs: Renders the links for the global bundles
  
  @param ctx
  the context
  @param out
  the writer
  @param debugOn
  the debug flag
  @throws IOException
  if an IOException occurs.