Author: michiel
Date: 2009-07-13 10:55:10 +0200 (Mon, 13 Jul 2009)
New Revision: 36866

Modified:
   mmbase/trunk/applications/email/src/main/examples/index.jspx
   mmbase/trunk/applications/email/src/main/examples/mmform.jspx
Log:
mmform.jspx example was broken

Modified: mmbase/trunk/applications/email/src/main/examples/index.jspx
===================================================================
--- mmbase/trunk/applications/email/src/main/examples/index.jspx        
2009-07-13 08:45:36 UTC (rev 36865)
+++ mmbase/trunk/applications/email/src/main/examples/index.jspx        
2009-07-13 08:55:10 UTC (rev 36866)
@@ -35,7 +35,6 @@
             </pre>
           </td>
           <td>
-            BLE BLOE ${example}
             <mm:include debug="html" page="${example}" />
           </td>
         </tr>

Modified: mmbase/trunk/applications/email/src/main/examples/mmform.jspx
===================================================================
--- mmbase/trunk/applications/email/src/main/examples/mmform.jspx       
2009-07-13 08:45:36 UTC (rev 36865)
+++ mmbase/trunk/applications/email/src/main/examples/mmform.jspx       
2009-07-13 08:55:10 UTC (rev 36866)
@@ -8,7 +8,8 @@
   <!-- form is like a transaction -->
   <mm:form mode="form">
 
-
+    <input type="hidden" name="example" value="mmform.jspx" />
+    <p>To: <input type="text" name="email" value="${email}" /></p>
     <!-- because in transaction now actual object will be created until commit 
-->
     <mm:createnode type="email" commitonclose="false">
 
@@ -44,15 +45,15 @@
           <!--
               could e.g. also redirect if you don't want to see the form again.
           -->
+          <p>Thanks, for sending the above mail.</p>
+          <p>
+            Status was:
+            <mm:functioncontainer>
+              <mm:param name="field">mailstatus</mm:param>
+              <mm:function name="gui" />
+            </mm:functioncontainer>
+          </p>
         </mm:present>
-        <p>Thanks, for sending the above mail.</p>
-        <p>
-          Status was:
-          <mm:functioncontainer>
-            <mm:param name="field">mailstatus</mm:param>
-            <mm:function name="gui" />
-          </mm:functioncontainer>
-        </p>
       </mm:valid>
       <!-- if not valid, the form is still showed, so that people can fix its 
content -->
       <mm:valid inverse="true">

_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to