geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r580852 - in /geronimo/server/branches/2.0/testsuite/web-testsuite/test-myfaces/src: main/webapp/helloWorld.jsp test/java/org/apache/geronimo/testsuite/myfaces/TestMyFaces.java
Date Mon, 01 Oct 2007 06:07:56 GMT
Author: gawor
Date: Sun Sep 30 23:07:55 2007
New Revision: 580852

URL: http://svn.apache.org/viewvc?rev=580852&view=rev
Log:
don't use panelGrid as it generates invalid html in myfaces 1.2.0

Modified:
    geronimo/server/branches/2.0/testsuite/web-testsuite/test-myfaces/src/main/webapp/helloWorld.jsp
    geronimo/server/branches/2.0/testsuite/web-testsuite/test-myfaces/src/test/java/org/apache/geronimo/testsuite/myfaces/TestMyFaces.java

Modified: geronimo/server/branches/2.0/testsuite/web-testsuite/test-myfaces/src/main/webapp/helloWorld.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/testsuite/web-testsuite/test-myfaces/src/main/webapp/helloWorld.jsp?rev=580852&r1=580851&r2=580852&view=diff
==============================================================================
--- geronimo/server/branches/2.0/testsuite/web-testsuite/test-myfaces/src/main/webapp/helloWorld.jsp
(original)
+++ geronimo/server/branches/2.0/testsuite/web-testsuite/test-myfaces/src/main/webapp/helloWorld.jsp
Sun Sep 30 23:07:55 2007
@@ -25,14 +25,12 @@
     <body>
         <f:view>
             <h:form id="form">
-              <h:panelGrid id="grid" columns="2">
                 <h:outputText id="output1" value="#{helloWorldBacking.testDouble} Please
enter your name"/>
                 <h:inputText id="input1" value="#{helloWorldBacking.name}" required="true"/>
                 <h:outputText value="#{helloWorldBacking.greeting}"/>
                 <h:commandButton id="button1" value="press me" action="#{helloWorldBacking.send}"/>
                 <h:commandLink value="Update greeting" actionListener="#{helloWorldBacking.updateGreeting}"/>
                 <h:message id="message1" for="input1"/>
-              </h:panelGrid>
             </h:form>
         </f:view>
     </body>

Modified: geronimo/server/branches/2.0/testsuite/web-testsuite/test-myfaces/src/test/java/org/apache/geronimo/testsuite/myfaces/TestMyFaces.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/testsuite/web-testsuite/test-myfaces/src/test/java/org/apache/geronimo/testsuite/myfaces/TestMyFaces.java?rev=580852&r1=580851&r2=580852&view=diff
==============================================================================
--- geronimo/server/branches/2.0/testsuite/web-testsuite/test-myfaces/src/test/java/org/apache/geronimo/testsuite/myfaces/TestMyFaces.java
(original)
+++ geronimo/server/branches/2.0/testsuite/web-testsuite/test-myfaces/src/test/java/org/apache/geronimo/testsuite/myfaces/TestMyFaces.java
Sun Sep 30 23:07:55 2007
@@ -30,7 +30,8 @@
     public void testManagedBean() throws Exception {
         selenium.open("/myfaces");
         selenium.waitForPageToLoad("30000");
-        assertEquals("0.99 Please enter your name Hello Update greeting", selenium.getBodyText());
+        System.out.println(selenium.getBodyText());
+        assertEquals("0.99 Please enter your nameHelloUpdate greeting", selenium.getBodyText());
     }
     
 }



Mime
View raw message