[seam-commits] Seam SVN: r15417 - branches/enterprise/WFK-2_1/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/faces.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Feb 21 04:37:31 EST 2013


Author: manaRH
Date: 2013-02-21 04:37:31 -0500 (Thu, 21 Feb 2013)
New Revision: 15417

Modified:
   branches/enterprise/WFK-2_1/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/faces/ExceptionRedirectTest.java
Log:
fixed duplicated seam components in test

Modified: branches/enterprise/WFK-2_1/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/faces/ExceptionRedirectTest.java
===================================================================
--- branches/enterprise/WFK-2_1/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/faces/ExceptionRedirectTest.java	2013-02-20 12:53:19 UTC (rev 15416)
+++ branches/enterprise/WFK-2_1/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/faces/ExceptionRedirectTest.java	2013-02-21 09:37:31 UTC (rev 15417)
@@ -56,9 +56,9 @@
                   "<h:head></h:head>" +
                   "<h:body>" +
                      "<h:form id='form'>" +
-                     "<h:commandButton id='begin' action='#{testComponent.begin}' value='Begin' />" +
-                     "<h:commandButton id='throw' action='#{testComponent.throwTestException}' value='Throw' />" +
-                     "<h:commandButton id='throwAjax' action='#{testComponent.throwTestException}' value='Throw Ajax'>" +
+                     "<h:commandButton id='begin' action='#{testComponent1.begin}' value='Begin' />" +
+                     "<h:commandButton id='throw' action='#{testComponent1.throwTestException}' value='Throw' />" +
+                     "<h:commandButton id='throwAjax' action='#{testComponent1.throwTestException}' value='Throw Ajax'>" +
                      "<f:ajax/>" +
                      "</h:commandButton>" +
                      "</h:form>" +
@@ -71,7 +71,7 @@
                   " xmlns:ui=\"http://java.sun.com/jsf/facelets\">" +
                   "<h:head></h:head>" +
                   "<h:body>" +
-                   " Exception handled, state: <h:outputText value='#{testComponent.state}'/>" + 
+                   " Exception handled, state: <h:outputText value='#{testComponent1.state}'/>" + 
                    "</h:body>" + 
                   "</html>"), "error.xhtml")
             .addAsWebInfResource(new StringAsset(
@@ -91,7 +91,7 @@
    }
    
    @Scope(ScopeType.CONVERSATION)
-   @Name("testComponent")
+   @Name("testComponent1")
    public static class TestComponent implements Serializable
    {
        private static final long serialVersionUID = 1L;



More information about the seam-commits mailing list