Examples of render()


Examples of org.exoplatform.groovyscript.GroovyTemplate.render()

      long startTime = System.currentTimeMillis();

      GroovyTemplate template = getTemplate(name, context.getResourceResolver());
      context.put("_ctx", context);
      context.setGroovyTemplateService(this);
      template.render(context.getWriter(), context);

      long endTime = System.currentTimeMillis();

      TemplateStatistic templateStatistic = statisticService.getTemplateStatistic(name);
      templateStatistic.setTime(endTime - startTime);
View Full Code Here

Examples of org.expressme.webwind.renderer.Renderer.render()

    void handleResult(HttpServletRequest request, HttpServletResponse response, Object result) throws Exception {
        if (result==null)
            return;
        if (result instanceof Renderer) {
            Renderer r = (Renderer) result;
            r.render(this.servletContext, request, response);
            return;
        }
        if (result instanceof String) {
            String s = (String) result;
            if (s.startsWith("redirect:")) {
View Full Code Here

Examples of org.fusesource.jansi.Ansi.render()

         break;
      default:
         return output;
      }

      return ansi.render(output).reset().toString();
   }

   @Override
   public void write(final int b)
   {
View Full Code Here

Examples of org.gatein.pc.test.controller.PageRenderer.render()

      {

         PageRenderer renderer = new PageRenderer(new ResponseProperties(), context.getStateControllerContext().createPortletPageNavigationalState(false));

         //
         renderer.render(new RendererContextImpl(context));
      }
   }
}
View Full Code Here

Examples of org.gatein.pc.test.controller.Renderer.render()

         //
         Renderer renderer = rendererFactory.getRenderer(response);

         //
         renderer.render(new RendererContextImpl(context));
      }
      else
      {

         PageRenderer renderer = new PageRenderer(new ResponseProperties(), context.getStateControllerContext().createPortletPageNavigationalState(false));
View Full Code Here

Examples of org.geomajas.gwt.client.widget.MapWidget.render()

    button1.addClickHandler(new ClickHandler() {

      // Draw an image in screen space:
      public void onClick(ClickEvent event) {
        map.render(screenImage, RenderGroup.SCREEN, RenderStatus.ALL);
      }
    });
    buttonLayout.addMember(button1);

    IButton button2 = new IButton(I18nProvider.getSampleMessages().screenWorldBTNWorld());
View Full Code Here

Examples of org.geomajas.plugin.printing.document.Document.render()

      throw new IllegalArgumentException("invalid download method " + download);
    }

    // Write the docmuent
    ServletOutputStream out = response.getOutputStream();
    doc.render(out, format);
    out.flush();
  }

}
View Full Code Here

Examples of org.gephi.preview.api.PreviewController.render()

        if (target instanceof LongTask) {
            ((LongTask) target).setProgressTicket(progress);
        }

        try {
            controller.render(target, workspace);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }

        cb.restoreState();
View Full Code Here

Examples of org.gradle.api.reporting.dependencies.internal.HtmlDependencyReporter.render()

            setDidWork(false);
            return;
        }

        HtmlDependencyReporter reporter = new HtmlDependencyReporter(getVersionSelectorScheme());
        reporter.render(getProjects(), reports.getHtml().getDestination());
    }

    /**
     * Returns the set of projects to generate a report for. By default, the report is generated for the task's
     * containing project.
View Full Code Here

Examples of org.gradle.api.reporting.internal.BuildDashboardGenerator.render()

    @TaskAction
    void run() {
        if (getReports().getHtml().isEnabled()) {
            BuildDashboardGenerator generator = new BuildDashboardGenerator();
            generator.render(getEnabledInputReports(), reports.getHtml().getEntryPoint());
        } else {
            setDidWork(false);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.