org.apache.turbine.modules.layouts
Class WebMacroSiteLayout

java.lang.Object
  |
  +--org.apache.turbine.modules.Assembler
        |
        +--org.apache.turbine.modules.Layout
              |
              +--org.apache.turbine.modules.layouts.WebMacroSiteLayout

public class WebMacroSiteLayout
extends Layout

This Layout module allows WebMacro templates to be used as layouts. Since dynamic content is supposed to be primarily located in screens and navigations there should be relatively few reasons to subclass this Layout.

Version:
$Id$
Author:
John D. McNally, Dave Bryson

Constructor Summary
WebMacroSiteLayout()
           
 
Method Summary
 void doBuild(RunData data)
          Build the layout.
protected  org.webmacro.servlet.WebContext getContext(RunData data)
          Return the WebContext needed by WebMacro.
 
Methods inherited from class org.apache.turbine.modules.Layout
build
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

WebMacroSiteLayout

public WebMacroSiteLayout()
Method Detail

doBuild

public void doBuild(RunData data)
             throws java.lang.Exception
Build the layout.
Overrides:
doBuild in class Layout
Parameters:
data - Turbine information.
Throws:
Exception, - a generic exception.

getContext

protected org.webmacro.servlet.WebContext getContext(RunData data)
Return the WebContext needed by WebMacro.
Parameters:
RunData - data
Returns:
WebContext


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.