code: protected String createBundleLink(String bundleId, String contextPath) {
      	
      	// When debug mode is on and the resource is generated the path must include a parameter
      	JawrConfig config = bundler.getConfig();
  		if( config.isDebugModeOn() && 
      		config.getGeneratorRegistry().isPathGenerated(bundleId)) {
      		bundleId = PathNormalizer.createGenerationPath(bundleId, config.getGeneratorRegistry(), null);
      	}
      	String fullPath = PathNormalizer.joinPaths(config.getServletMapping(), bundleId);
      	fullPath = PathNormalizer.joinPaths(contextPath,fullPath);
  
      	return renderLink(fullPath);
      }
docs: Creates a link to a bundle in the page.
  @param bundleId the bundle id
  @param contextPath the context path
  @return the link to a bundle in the page