jet.servlet.action
Class FTLAction
java.lang.Object
jet.servlet.JetAction
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 |
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 |
templateName
private java.lang.String templateName
- The template to use
FTLAction
public FTLAction()
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 displaydata
- the data map to use for the templateform
- the form to parse and displaycontext
- the current context object
- Throws:
JetActionException
java.io.IOException