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 2010/05/28 15:14:44 UTC

svn commit: r949171 - in /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main: java/org/apache/myfaces/tobago/example/demo/overview/OverviewController.java webapp/overview/validation.xhtml

Author: lofwyr
Date: Fri May 28 13:14:44 2010
New Revision: 949171

URL: http://svn.apache.org/viewvc?rev=949171&view=rev
Log:
clean up demo

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/overview/OverviewController.java
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/validation.xhtml

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/overview/OverviewController.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/overview/OverviewController.java?rev=949171&r1=949170&r2=949171&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/overview/OverviewController.java (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/overview/OverviewController.java Fri May 28 13:14:44 2010
@@ -412,4 +412,9 @@ public class OverviewController {
     li.add(prefix+6);
     return li;
   }
+
+  public String noop() {
+    LOG.info("noop");
+    return null;
+  }
 }

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/validation.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/validation.xhtml?rev=949171&r1=949170&r2=949171&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/validation.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/overview/validation.xhtml Fri May 28 13:14:44 2010
@@ -52,8 +52,7 @@
         </tx:in>
       </tc:panel>
 
-      <tx:textarea label="#{overviewBundle.validation_description}"
-                   required="true"/>
+      <tx:textarea label="#{overviewBundle.validation_description}" required="true"/>
 
       <tc:messages/>
 
@@ -62,8 +61,7 @@
           <tc:gridLayout columns="1*;100px"/>
         </f:facet>
         <tc:cell/>
-        <tc:button action="#{clientConfigController.submit}"
-                   label="#{overviewBundle.validation_submit}"/>
+        <tc:button action="#{overviewController.noop}" label="#{overviewBundle.validation_submit}"/>
       </tc:panel>
 
     </tc:box>