org.apache.fulcrum.osworkflow.example.modules.actions
Class Index

java.lang.Object
  extended byorg.apache.turbine.modules.Assembler
      extended byorg.apache.turbine.modules.Action
          extended byorg.apache.turbine.modules.ActionEvent
              extended byorg.apache.turbine.util.velocity.VelocityActionEvent
                  extended byorg.apache.turbine.modules.actions.VelocityAction
                      extended byorg.apache.fulcrum.osworkflow.example.modules.actions.Index

public class Index
extends org.apache.turbine.modules.actions.VelocityAction

This method is called by default when you load up the example webapp. It redirects the user to the Index.vm template.

Author:
Eric Pugh

Field Summary
 
Fields inherited from class org.apache.turbine.modules.ActionEvent
BUTTON, BUTTON_LENGTH, LENGTH, log, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX
 
Constructor Summary
Index()
           
 
Method Summary
 void doPerform(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context)
          Default action is to load up the default screen (Index.vm) and list out the locations to go to: Inventory Add Request Inventory Delete Request General Admin of Request
 
Methods inherited from class org.apache.turbine.modules.actions.VelocityAction
doPerform, getContext, perform, setTemplate
 
Methods inherited from class org.apache.turbine.util.velocity.VelocityActionEvent
executeEvents
 
Methods inherited from class org.apache.turbine.modules.ActionEvent
considerKey, executeEvents, formatString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Index

public Index()
Method Detail

doPerform

public void doPerform(org.apache.turbine.util.RunData data,
                      org.apache.velocity.context.Context context)
               throws java.lang.Exception
Default action is to load up the default screen (Index.vm) and list out the locations to go to:
  1. Inventory Add Request
  2. Inventory Delete Request
  3. General Admin of Request

Parameters:
data - Current RunData information
context - Context to populate
Throws:
java.lang.Exception - Thrown on error


Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.