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

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

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

origin: org.jboss.seam/jboss-seam

public static void clearPhaseId()
{
 setPhaseId(null);
}
origin: org.jboss.seam/jboss-seam-debug

public void beforePhase(PhaseEvent event)
 FacesLifecycle.setPhaseId( event.getPhaseId() ); //since this gets called before SeamPhaseListener!
origin: org.jboss.seam/jboss-seam

private boolean preRenderPage(FacesContext facesContext)
{
 if ( Pages.isDebugPage() )
 {
   return false;
 }
 else
 {
   FacesLifecycle.setPhaseId(PhaseId.INVOKE_APPLICATION);
   boolean actionsWereCalled = false;
   try
   {
    actionsWereCalled = Pages.instance().preRender(facesContext);
    return actionsWereCalled;
   }
   finally
   {
    FacesLifecycle.setPhaseId(PhaseId.RENDER_RESPONSE);
    if (actionsWereCalled) 
    {
      FacesMessages.afterPhase();
      handleTransactionsAfterPageActions(facesContext); //TODO: does it really belong in the finally?
    }
   }
 }
}
origin: org.jboss.seam/jboss-seam

public void beforePhase(PhaseEvent event)
{
 log.trace( "before phase: " + event.getPhaseId() );
 
 FacesLifecycle.setPhaseId( event.getPhaseId() );
 try
 {
   if ( isPortletRequest(event) )
   {
    beforePortletPhase(event);
   }
   else
   {
    beforeServletPhase(event);
   }
   raiseEventsBeforePhase(event);
 }
 catch (Exception e)
 {
   try
   {
    Exceptions.instance().handle(e);
   }
   catch (Exception ehe) 
   {
    log.error("swallowing exception", e);
   }
 }
}
org.jboss.seam.contextsFacesLifecyclesetPhaseId

Popular methods of FacesLifecycle

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

Popular in Java

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • setContentView (Activity)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • 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