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

Gavin King gavin.king at jboss.com
Mon Oct 23 16:30:24 EDT 2006


  User: gavin   
  Date: 06/10/23 16:30:24

  Modified:    src/main/org/jboss/seam/core  Pages.java
  Log:
  minor
  
  Revision  Changes    Path
  1.35      +5 -1      jboss-seam/src/main/org/jboss/seam/core/Pages.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Pages.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Pages.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -b -r1.34 -r1.35
  --- Pages.java	22 Oct 2006 23:02:00 -0000	1.34
  +++ Pages.java	23 Oct 2006 20:30:24 -0000	1.35
  @@ -447,7 +447,11 @@
         if (viewId!=null)
         {
            Map<String, Object> parameters = getParameters(viewId);
  -         if ( !parameters.isEmpty() )
  +         if ( parameters.isEmpty() )
  +         {
  +            Contexts.getPageContext().remove(PAGE_PARAMETERS);
  +         }
  +         else
            {
               Contexts.getPageContext().set(PAGE_PARAMETERS, parameters);
            }
  
  
  



More information about the jboss-cvs-commits mailing list