Tabnine Logo
FacesLifecycle.resumeConversation
Code IndexAdd Tabnine to your IDE (free)

How to use
resumeConversation
method
in
org.jboss.seam.contexts.FacesLifecycle

Best Java code snippets using org.jboss.seam.contexts.FacesLifecycle.resumeConversation (Showing top 2 results out of 315)

origin: org.jboss.seam/jboss-seam

pageContext.get().set("org.jboss.seam.jsf.SeamPhaseListener.conversationFound", conversationFound);
FacesLifecycle.resumeConversation(facesContext.getExternalContext());
origin: org.jboss.seam/jboss-seam

/**
* Restore the page and conversation contexts during a JSF request
*/
protected void afterRestoreView(FacesContext facesContext)
{       
  boolean conversationFound = Contexts.isPageContextActive() ? Contexts.getPageContext().isSet("org.jboss.seam.jsf.SeamPhaseListener.conversationFound") : false;
  FacesLifecycle.resumePage();
  Map parameters = facesContext.getExternalContext().getRequestParameterMap();
  if (!conversationFound) // there is exceptional case when restoring of conversation wasn't called while page context was lazily initialized
  {
   ConversationPropagation.instance().restoreConversationId(parameters);
   conversationFound = Manager.instance().restoreConversation();
  }
  FacesLifecycle.resumeConversation( facesContext.getExternalContext() );
  postRestorePage(facesContext, parameters, conversationFound);
  }
org.jboss.seam.contextsFacesLifecycleresumeConversation

Popular methods of FacesLifecycle

  • beginExceptionRecovery
  • endRequest
  • getPhaseId
  • setPhaseId
  • beginRequest
  • clearPhaseId
  • getRequestPath
  • invalidateSession
    Invalidate the session, no matter what kind of session it is (portlet or servlet). Why is this metho
  • resumePage
  • saveRequestPath
    with rewriting, the filter chain might not have access to the post-rewrite request information. we'l

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getContentResolver (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Top plugins for WebStorm
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