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

Gavin King gavin.king at jboss.com
Sat Feb 3 22:51:55 EST 2007


  User: gavin   
  Date: 07/02/03 22:51:55

  Modified:    src/main/org/jboss/seam/core  Exceptions.java
  Log:
  introduce faces-message tag
  
  Revision  Changes    Path
  1.25      +2 -1      jboss-seam/src/main/org/jboss/seam/core/Exceptions.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Exceptions.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Exceptions.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -b -r1.24 -r1.25
  --- Exceptions.java	4 Feb 2007 01:13:19 -0000	1.24
  +++ Exceptions.java	4 Feb 2007 03:51:55 -0000	1.25
  @@ -119,7 +119,8 @@
         if (redirect!=null)
         {
            final String viewId = redirect.attributeValue("view-id");
  -         final String message = redirect.getTextTrim();
  +         Element facesMessage = redirect.element("faces-message");
  +         final String message = facesMessage==null ? null : facesMessage.getTextTrim();
            return new ConfigRedirectHandler(viewId, clazz, endConversation, rollback, message);
         }
         
  
  
  



More information about the jboss-cvs-commits mailing list