[jboss-cvs] jboss-seam/src/remoting/org/jboss/seam/remoting ...

Shane Bryzak sbryzak at redhat.com
Wed Oct 17 04:23:40 EDT 2007


  User: sbryzak2
  Date: 07/10/17 04:23:40

  Modified:    src/remoting/org/jboss/seam/remoting  ExecutionHandler.java
  Log:
  JBSEAM-1989 page context for remoting requests
  
  Revision  Changes    Path
  1.10      +7 -0      jboss-seam/src/remoting/org/jboss/seam/remoting/ExecutionHandler.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ExecutionHandler.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/remoting/org/jboss/seam/remoting/ExecutionHandler.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- ExecutionHandler.java	4 Jul 2007 03:36:48 -0000	1.9
  +++ ExecutionHandler.java	17 Oct 2007 08:23:40 -0000	1.10
  @@ -12,6 +12,10 @@
   import org.dom4j.Document;
   import org.dom4j.Element;
   import org.dom4j.io.SAXReader;
  +import org.jboss.seam.contexts.Contexts;
  +import org.jboss.seam.contexts.FacesLifecycle;
  +import org.jboss.seam.contexts.PageContext;
  +import org.jboss.seam.contexts.RemotingLifecycle;
   import org.jboss.seam.core.ConversationPropagation;
   import org.jboss.seam.core.Manager;
   import org.jboss.seam.log.LogProvider;
  @@ -56,6 +60,9 @@
         final Element env = doc.getRootElement();
         final RequestContext ctx = unmarshalContext(env);
   
  +      // TODO - we really want to extract the page context from our request
  +      RemotingLifecycle.restorePageContext();
  +
         new ContextualHttpServletRequest(request)
         {
            @Override
  
  
  



More information about the jboss-cvs-commits mailing list