myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1759788 - /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/5000-form/sheet-in-form.xhtml
Date Thu, 08 Sep 2016 11:58:53 GMT
Author: lofwyr
Date: Thu Sep  8 11:58:53 2016
New Revision: 1759788

URL: http://svn.apache.org/viewvc?rev=1759788&view=rev
Log:
test code sub-forms with sheets

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/5000-form/sheet-in-form.xhtml

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/5000-form/sheet-in-form.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/5000-form/sheet-in-form.xhtml?rev=1759788&r1=1759787&r2=1759788&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/5000-form/sheet-in-form.xhtml
(original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/5000-form/sheet-in-form.xhtml
Thu Sep  8 11:58:53 2016
@@ -17,7 +17,7 @@
  * limitations under the License.
 -->
 
-<ui:composition template="/main.xhtml"
+<ui:composition template="/plain.xhtml"
                 xmlns="http://www.w3.org/1999/xhtml"
                 xmlns:tc="http://myfaces.apache.org/tobago/component"
                 xmlns:ui="http://java.sun.com/jsf/facelets">
@@ -25,6 +25,10 @@
   <tc:in required="true" label="Required"/>
 
   <tc:box id="box" label="Form">
+
+    Here pressing planet names and "Submit 1" should not validate the required field.
+    Only pressing "Submit 2" should validate the required field.
+
     <tc:form id="form">
 
       <tc:sheet id="sheet" value="#{sheetController.solarList}" var="object" rows="5">
@@ -36,11 +40,11 @@
         </tc:column>
       </tc:sheet>
 
-      <tc:button label="Submit"/>
+      <tc:button label="Submit 1"/>
 
     </tc:form>
   </tc:box>
 
-  <tc:button label="Submit"/>
+  <tc:button label="Submit 2"/>
 
 </ui:composition>



Mime
View raw message