[jboss-cvs] jboss-seam/src/main/org/jboss/seam/core ...

Gavin King gavin.king at jboss.com
Sun Feb 4 01:30:08 EST 2007


  User: gavin   
  Date: 07/02/04 01:30:07

  Modified:    src/main/org/jboss/seam/core  Manager.java
  Log:
  this caused problems for page security handling
  
  Revision  Changes    Path
  1.138     +3 -3      jboss-seam/src/main/org/jboss/seam/core/Manager.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Manager.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Manager.java,v
  retrieving revision 1.137
  retrieving revision 1.138
  diff -u -b -r1.137 -r1.138
  --- Manager.java	4 Feb 2007 05:41:58 -0000	1.137
  +++ Manager.java	4 Feb 2007 06:30:07 -0000	1.138
  @@ -41,7 +41,7 @@
    *
    * @author Gavin King
    * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
  - * @version $Revision: 1.137 $
  + * @version $Revision: 1.138 $
    */
   @Scope(ScopeType.EVENT)
   @Name("org.jboss.seam.core.manager")
  @@ -931,10 +931,10 @@
       */
      public void redirect(String viewId, Map<String, Object> parameters, boolean includeConversationId)
      {
  -      if ( Lifecycle.getPhaseId()==PhaseId.RENDER_RESPONSE )
  +      /*if ( Lifecycle.getPhaseId()==PhaseId.RENDER_RESPONSE )
         {
            throw new IllegalStateException("attempted to redirect during RENDER_RESPONSE phase");
  -      }
  +      }*/
         FacesContext context = FacesContext.getCurrentInstance();
         String url = context.getApplication().getViewHandler().getActionURL(context, viewId);
         if (parameters!=null) 
  
  
  



More information about the jboss-cvs-commits mailing list