jet.servlet.action
Class FTLAction

java.lang.Object
  extended by jet.servlet.JetAction
      extended by jet.servlet.action.FTLAction
All Implemented Interfaces:
java.lang.Cloneable, Identifiable, Poolable, Resetable

public final class FTLAction
extends JetAction

This class is like JetAction, but executes the specified template directly and executes no class action

Author:
Markus.Meisters@web.de

Field Summary
private  java.lang.String templateName
          The template to use
 
Constructor Summary
FTLAction()
           
 
Method Summary
 void execute(JetMessages messages, JetData data, JetForm form, JetContext context)
          executes the template
 void setTemplateName(java.lang.String templateName)
          Set the template name
 
Methods inherited from class jet.servlet.JetAction
clone, delegateTo, delegateTo, delegateTo, dispatch, doFormValidation, doFormValidation, getActionDef, getContext, getDataStructure, getIdentifier, getInstanceFor, getJetContext, redirect, render, reset, setActionDef
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

templateName

private java.lang.String templateName
The template to use

Constructor Detail

FTLAction

public FTLAction()
Method Detail

setTemplateName

public void setTemplateName(java.lang.String templateName)
Set the template name

Parameters:
templateName - the template

execute

public void execute(JetMessages messages,
                    JetData data,
                    JetForm form,
                    JetContext context)
             throws JetActionException,
                    java.io.IOException
executes the template

Specified by:
execute in class JetAction
Parameters:
messages - messages to display
data - the data map to use for the template
form - the form to parse and display
context - the current context object
Throws:
JetActionException
java.io.IOException