You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@apache.org on 2003/06/08 09:59:03 UTC
cvs commit: cocoon-2.1/src/blocks/woody/samples/forms form1_success.xsp registration_success.xsp
stevenn 2003/06/08 00:59:03
Modified: src/blocks/woody/samples/forms form1_success.xsp
registration_success.xsp
Log:
pretty form submit result pages
Revision Changes Path
1.2 +5 -4 cocoon-2.1/src/blocks/woody/samples/forms/form1_success.xsp
Index: form1_success.xsp
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/forms/form1_success.xsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- form1_success.xsp 22 Apr 2003 12:04:22 -0000 1.1
+++ form1_success.xsp 8 Jun 2003 07:59:03 -0000 1.2
@@ -6,8 +6,9 @@
<xsp:include>org.apache.cocoon.woody.formmodel.*</xsp:include>
</xsp:structure>
- <html>
- <body>
+ <page>
+ <title>Sample form result</title>
+ <content>
<xsp:logic>
// get reference to form and some of the widgets on it
Form form = (Form)request.getAttribute("form1");
@@ -24,6 +25,6 @@
<br/>
The value of the checkbox is:
<xsp:expr>booleanField.getValue()</xsp:expr>
- </body>
- </html>
+ </content>
+ </page>
</xsp:page>
1.2 +5 -4 cocoon-2.1/src/blocks/woody/samples/forms/registration_success.xsp
Index: registration_success.xsp
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/forms/registration_success.xsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- registration_success.xsp 22 Apr 2003 12:04:22 -0000 1.1
+++ registration_success.xsp 8 Jun 2003 07:59:03 -0000 1.2
@@ -6,8 +6,9 @@
<xsp:include>org.apache.cocoon.woody.formmodel.*</xsp:include>
</xsp:structure>
- <html>
- <body>
+ <page>
+ <title>Registration result</title>
+ <content>
<xsp:logic>
// get reference to form and some of the widgets on it
Form form = (Form)request.getAttribute("registrationform");
@@ -15,6 +16,6 @@
</xsp:logic>
Registration was successful for <xsp:expr>name.getValue()</xsp:expr>
- </body>
- </html>
+ </content>
+ </page>
</xsp:page>