Klasse VelocityCachedLayout

Alle implementierten Schnittstellen:
Assembler, Layout

This Layout module is Turbine 2.3.3 VelocityDirectLayout (same package) with methods added for PipelineData. It is used in Jetspeed-1 portal. By using this layout any view write will immediately call the provided print writer RunData.getOut() and the HTTP servlet response will be flushed and set the committed flag. This means of course no change to the HTTP response header will be possible afterwards. By setting the RunData.setAction(String) in the request (not only the model, but also) additional response headers could be set, cft. DefaultPage.doBuild(PipelineData).
Version:
$Id$
Autor:
Raphaël Luta, John D. McNally, Dave Bryson, Henning P. Schmiedehausen
  • Konstruktordetails

  • Methodendetails

    • render

      protected void render(PipelineData pipelineData, org.apache.velocity.context.Context context, String templateName) throws Exception
      Render layout
      Setzt außer Kraft:
      render in Klasse VelocityLayout
      Parameter:
      pipelineData - PipelineData
      context - the Velocity context
      templateName - relative path to Velocity template
      Löst aus:
      Exception - if rendering fails