congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ViewState.restoreVariables
Code IndexAdd Tabnine to your IDE (free)

How to use
restoreVariables
method
in
org.springframework.webflow.engine.ViewState

Best Java code snippets using org.springframework.webflow.engine.ViewState.restoreVariables (Showing top 3 results out of 315)

origin: org.springframework.webflow/spring-webflow

public void resume(RequestControlContext context) {
  restoreVariables(context);
  View view = viewFactory.getView(context);
  context.setCurrentView(view);
origin: org.springframework.webflow/org.springframework.webflow

public void resume(RequestControlContext context) {
  restoreVariables(context);
  View view = viewFactory.getView(context);
  view.processUserEvent();
  if (view.hasFlowEvent()) {
    Event event = view.getFlowEvent();
    if (logger.isDebugEnabled()) {
      logger.debug("Event '" + event.getId() + "' returned from view " + view);
    }
    context.getRequestScope().put("webflow.originatingViewState", this);
    boolean stateExited = context.handleEvent(event);
    if (!stateExited && context.getExternalContext().isResponseAllowed()) {
      if (context.getExternalContext().isAjaxRequest()) {
        render(context, view);
      } else {
        context.getExternalContext().requestFlowExecutionRedirect();
      }
    }
  } else {
    if (context.getExternalContext().isResponseAllowed()) {
      render(context, view);
    }
  }
}
origin: spring-projects/spring-webflow

public void resume(RequestControlContext context) {
  restoreVariables(context);
  View view = viewFactory.getView(context);
  context.setCurrentView(view);
org.springframework.webflow.engineViewStaterestoreVariables

Popular methods of ViewState

  • <init>
    Create a new view state.
  • getId
  • getRenderActionList
    Returns the list of actions executable by this view state on entry and on refresh. The returned list
  • getViewFactory
    Returns the view factory.
  • addVariable
    Adds a view variable.
  • resume
  • setPopup
    Sets whether this view state should render as a popup.
  • setRedirect
    Sets whether this view state should requests a flow execution redirect when entered.
  • addVariables
    Adds a set of view variables.
  • createVariables
  • destroyVariables
  • getEntryActionList
  • destroyVariables,
  • getEntryActionList,
  • getOwner,
  • refresh,
  • render,
  • shouldRedirect,
  • updateHistory,
  • clearFlash,
  • getRedirect

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSharedPreferences (Context)
  • onRequestPermissionsResult (Fragment)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Table (org.hibernate.mapping)
    A relational table
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now