Update of /var/cvs/html/mmbase/components/test/components
In directory james.mmbase.org:/tmp/cvs-serv26115/components
Modified Files:
test.jspx
Log Message:
using mm:form
See also: http://cvs.mmbase.org/viewcvs/html/mmbase/components/test/components
Index: test.jspx
===================================================================
RCS file: /var/cvs/html/mmbase/components/test/components/test.jspx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- test.jspx 21 Mar 2008 14:31:01 -0000 1.2
+++ test.jspx 25 Apr 2008 22:23:41 -0000 1.3
@@ -48,20 +48,14 @@
<a href="${_}">Change a</a>
</mm:link>
</p>
- <mm:link>
- <form method="post"
- enctype="multipart/form-data"
- action="${_}">
- <p>Form with ${_}</p>
-
+ <mm:form>
<table>
<tr><th>a</th><td><input name="a" value="${a}" /></td></tr>
<tr><th>b</th><td><input name="b" value="${b}" /></td></tr>
<tr><td colspan="100"><input type="submit" /></td></tr>
</table>
- </form>
- </mm:link>
+ </mm:form>
<h2>Sub-component</h2>
<p>
Using mm:component <em>inside</em> this component. It should work as
expected.
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs