ivelin 2002/06/15 22:58:25
Modified: src/java/org/apache/cocoon/samples/xmlform WizardAction.java
Log:
remove form at the end of the wizard, after data has been confirmed
Revision Changes Path
1.3 +4 -3
xml-cocoon2/src/java/org/apache/cocoon/samples/xmlform/WizardAction.java
Index: WizardAction.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/samples/xmlform/WizardAction.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- WizardAction.java 7 Jun 2002 13:15:09 -0000 1.2
+++ WizardAction.java 16 Jun 2002 05:58:25 -0000 1.3
@@ -249,6 +249,7 @@
{
if ( command.equals( CMD_NEXT ) )
{
+ Form.remove( getObjectModel(), getFormId() );
return page( VIEW_END );
}
else if( command.equals( CMD_PREV ) )
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]