shale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r476703 - in /shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp: WEB-INF/faces-config.xml validator/test.jsp
Date Sun, 19 Nov 2006 04:38:12 GMT
Author: rahul
Date: Sat Nov 18 20:38:12 2006
New Revision: 476703

URL: http://svn.apache.org/viewvc?view=rev&rev=476703
Log:
Fix NPE in custom validator while looking up validation failure message. Remove related TODO.
SHALE-325

Modified:
    shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/WEB-INF/faces-config.xml
    shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/validator/test.jsp

Modified: shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/WEB-INF/faces-config.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/WEB-INF/faces-config.xml?view=diff&rev=476703&r1=476702&r2=476703
==============================================================================
--- shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/WEB-INF/faces-config.xml
(original)
+++ shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/WEB-INF/faces-config.xml
Sat Nov 18 20:38:12 2006
@@ -40,6 +40,7 @@
       <supported-locale>de</supported-locale>
       <supported-locale>es</supported-locale>
     </locale-config>
+    <message-bundle>org.apache.shale.usecases.view.Bundle</message-bundle>
   </application>
 
 

Modified: shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/validator/test.jsp
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/validator/test.jsp?view=diff&rev=476703&r1=476702&r2=476703
==============================================================================
--- shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/validator/test.jsp (original)
+++ shale/framework/trunk/shale-apps/shale-usecases/src/main/webapp/validator/test.jsp Sat
Nov 18 20:38:12 2006
@@ -224,8 +224,6 @@
   <p>The third part of this example deals with using custom validation rules.  
       Priority must be an even integer.</p>
   
-  <p>TODO:  Fix NPE when an odd integer is entered.</p>
-
   <f:subview id="cvrSubview">
       <h:form id="cvrForm" onsubmit="return validateForm(this);">
 



Mime
View raw message