You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2013/10/15 17:38:21 UTC

svn commit: r1532395 - in /myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp: WEB-INF/web.xml test/error/throw-exception.xhtml

Author: lofwyr
Date: Tue Oct 15 15:38:20 2013
New Revision: 1532395

URL: http://svn.apache.org/r1532395
Log:
error handling example

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/WEB-INF/web.xml
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/error/throw-exception.xhtml

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/WEB-INF/web.xml?rev=1532395&r1=1532394&r2=1532395&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/WEB-INF/web.xml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/WEB-INF/web.xml Tue Oct 15 15:38:20 2013
@@ -27,8 +27,8 @@
 
   <context-param>
     <param-name>javax.faces.PROJECT_STAGE</param-name>
-    <param-value>Production</param-value>
-    <!--<param-value>Development</param-value>-->
+    <!--<param-value>Production</param-value>-->
+    <param-value>Development</param-value>
   </context-param>
 
   <context-param>

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/error/throw-exception.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/error/throw-exception.xhtml?rev=1532395&r1=1532394&r2=1532395&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/error/throw-exception.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/error/throw-exception.xhtml Tue Oct 15 15:38:20 2013
@@ -31,11 +31,7 @@
       </f:facet>
 
       <tc:panel>
-        Please click the button, then an error occures!
-        <br/>
-        <b>Note:</b> This example seems not to work. Todo: Check why!
-        <br/>
-        <b>Note:</b> Can only work in production mode.
+        Please click the button, that will throw an exception!
       </tc:panel>
 
       <tc:panel>