[seam-commits] Seam SVN: r11680 - in branches/enterprise/JBPAPP_4_3_FP01/examples/registration/src/org/jboss/seam/example/registration: test and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Nov 25 04:09:31 EST 2009


Author: kpiwko at redhat.com
Date: 2009-11-25 04:09:31 -0500 (Wed, 25 Nov 2009)
New Revision: 11680

Modified:
   branches/enterprise/JBPAPP_4_3_FP01/examples/registration/src/org/jboss/seam/example/registration/RegisterAction.java
   branches/enterprise/JBPAPP_4_3_FP01/examples/registration/src/org/jboss/seam/example/registration/test/RegisterTest.java
Log:
JBPAPP-3159

Modified: branches/enterprise/JBPAPP_4_3_FP01/examples/registration/src/org/jboss/seam/example/registration/RegisterAction.java
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/examples/registration/src/org/jboss/seam/example/registration/RegisterAction.java	2009-11-25 06:22:18 UTC (rev 11679)
+++ branches/enterprise/JBPAPP_4_3_FP01/examples/registration/src/org/jboss/seam/example/registration/RegisterAction.java	2009-11-25 09:09:31 UTC (rev 11680)
@@ -36,7 +36,7 @@
       {
          em.persist(user);
          log.info("Registered new user #{user.username}");
-         return "/registered.jspx";
+         return "/registered.xhtml";
       }
       else
       {

Modified: branches/enterprise/JBPAPP_4_3_FP01/examples/registration/src/org/jboss/seam/example/registration/test/RegisterTest.java
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/examples/registration/src/org/jboss/seam/example/registration/test/RegisterTest.java	2009-11-25 06:22:18 UTC (rev 11679)
+++ branches/enterprise/JBPAPP_4_3_FP01/examples/registration/src/org/jboss/seam/example/registration/test/RegisterTest.java	2009-11-25 09:09:31 UTC (rev 11680)
@@ -13,7 +13,7 @@
    public void testLogin() throws Exception
    {
             
-      new FacesRequest("/register.jspx") {
+      new FacesRequest("/register.xhtml") {
 
          @Override
          protected void processValidations() throws Exception
@@ -35,8 +35,8 @@
          @Override
          protected void invokeApplication()
          {
-            assert invokeMethod("#{register.register}").equals("/registered.jspx");
-            setOutcome("/registered.jspx");
+            assert invokeMethod("#{register.register}").equals("/registered.xhtml");
+            setOutcome("/registered.xhtml");
          }
          
          @Override
@@ -48,7 +48,7 @@
          
       }.run();
       
-      new NonFacesRequest("/registered.jspx")
+      new NonFacesRequest("/registered.xhtml")
       {
 
          @Override
@@ -61,7 +61,7 @@
          
       }.run();
       
-      new FacesRequest("/register.jspx") {
+      new FacesRequest("/register.xhtml") {
 
          @Override
          protected void processValidations() throws Exception



More information about the seam-commits mailing list