org.apache.turbine.modules.screens.error
Class InvalidState

java.lang.Object
  |
  +--org.apache.turbine.modules.Assembler
        |
        +--org.apache.turbine.modules.Screen
              |
              +--org.apache.turbine.modules.screens.error.InvalidState

public class InvalidState
extends Screen

Users will get this screen if the screen on their browser is in an invalid state. For example, if they hit "Back" or "Reload" and then try to submit old form data. If you want one of your screens to check for invalid state then add a hidden form field called "_session_access_counter" with the value currently stored in the session. The SessionValidator action will check to see if it is an old value and redirect you to this screen.

Version:
$Id: InvalidState.java,v 1.1.1.1 2001/08/16 05:08:38 jvanzyl Exp $
Author:
Dave Bryson

Constructor Summary
InvalidState()
           
 
Method Summary
 org.apache.ecs.ConcreteElement doBuild(RunData data)
          Build the Screen.
 
Methods inherited from class org.apache.turbine.modules.Screen
build, getLayout, prepareText, prepareTextMinimum, setLayout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvalidState

public InvalidState()
Method Detail

doBuild

public org.apache.ecs.ConcreteElement doBuild(RunData data)
                                       throws java.lang.Exception
Build the Screen.
Overrides:
doBuild in class Screen
Parameters:
data - Turbine information.
Throws:
Exception, - a generic exception.


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