com.ptc.core.components.forms
Enum FormResultAction

java.lang.Object
  extended by java.lang.Enum<FormResultAction>
      extended by com.ptc.core.components.forms.FormResultAction
All Implemented Interfaces:
Serializable, Comparable<FormResultAction>

public enum FormResultAction
extends Enum<FormResultAction>

Directive returned by a form processor to the WizardServlet when processing completes.

REFRESH_OPENER - Refresh the page from which the form was launched. All or part of the page will be refreshed, depending on the value of the "ajax" attribute on the form action tag. If the action tag has no ajax attribute, the entire page will be refreshed.

LOAD_OPENER_URL - Load a new URL into the window from which the form was launched.

JAVASCRIPT - Execute provided javascript

NONE - Leaves the user at the step where OK/Apply was clicked (in the future, might also be used to take the user to field where error occurred if FeedbackMessages with incorrect fields - not yet implemented)

Supported API: true

Extendable: false


Enum Constant Summary
CONTINUE
           
FORWARD
           
JAVASCRIPT
           
LOAD_OPENER_URL
           
NONE
           
REFRESH_CURRENT_PAGE
           
REFRESH_OPENER
           
REFRESH_OPENER_AND_SUBMIT_IFRAMES
           
 
Method Summary
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

REFRESH_OPENER

public static final FormResultAction REFRESH_OPENER

LOAD_OPENER_URL

public static final FormResultAction LOAD_OPENER_URL

JAVASCRIPT

public static final FormResultAction JAVASCRIPT

NONE

public static final FormResultAction NONE

REFRESH_OPENER_AND_SUBMIT_IFRAMES

public static final FormResultAction REFRESH_OPENER_AND_SUBMIT_IFRAMES

FORWARD

public static final FormResultAction FORWARD

CONTINUE

public static final FormResultAction CONTINUE

REFRESH_CURRENT_PAGE

public static final FormResultAction REFRESH_CURRENT_PAGE