Author: shane.bryzak(a)jboss.com
Date: 2008-04-12 21:06:27 -0400 (Sat, 12 Apr 2008)
New Revision: 7909
Modified:
trunk/src/main/org/jboss/seam/navigation/Pages.java
Log:
JBSEAM-2875
Modified: trunk/src/main/org/jboss/seam/navigation/Pages.java
===================================================================
--- trunk/src/main/org/jboss/seam/navigation/Pages.java 2008-04-12 03:31:32 UTC (rev
7908)
+++ trunk/src/main/org/jboss/seam/navigation/Pages.java 2008-04-13 01:06:27 UTC (rev
7909)
@@ -752,12 +752,19 @@
}
catch (ValidatorException ve)
{
- facesContext.addMessage( null, ve.getFacesMessage() );
+ if (ve.getFacesMessage() != null)
+ {
+ facesContext.addMessage(null, ve.getFacesMessage());
+ }
+
validationFailed = true;
}
catch (ConverterException ce)
{
- facesContext.addMessage( null, ce.getFacesMessage() );
+ if (ce.getFacesMessage() != null)
+ {
+ facesContext.addMessage( null, ce.getFacesMessage() );
+ }
validationFailed = true;
}
}
Show replies by date