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

Gavin King gavin.king at jboss.com
Thu Oct 5 20:34:20 EDT 2006


  User: gavin   
  Date: 06/10/05 20:34:20

  Modified:    src/main/org/jboss/seam/core  Pages.java
  Log:
  hack around problem due to bad JSF EL error handling
  
  Revision  Changes    Path
  1.24      +16 -4     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.23
  retrieving revision 1.24
  diff -u -b -r1.23 -r1.24
  --- Pages.java	3 Oct 2006 17:16:44 -0000	1.23
  +++ Pages.java	6 Oct 2006 00:34:20 -0000	1.24
  @@ -312,7 +312,18 @@
         Map<String, String[]> parameters = Parameters.getRequestParameters();
         for (Map.Entry<String, ValueBinding> me: getParameterValueBindings(viewId))
         {
  -         Class type = me.getValue().getType();
  +         Class type;
  +         try
  +         {
  +            type = me.getValue().getType();
  +         }
  +         catch (RuntimeException e)
  +         {
  +            type = null;
  +         }
  +         
  +         if (type!=null)
  +         {
            Object value = Parameters.convertMultiValueRequestParameter( parameters, me.getKey(), type );
            if (value!=null) 
            {
  @@ -320,6 +331,7 @@
            }
         }
      }
  +   }
   
      public String getNoConversationViewId()
      {
  
  
  



More information about the jboss-cvs-commits mailing list