On Wed, Oct 22, 2003 at 12:06:01PM +0200, Sylvain Wallez wrote:
Joerg Heinicke wrote:
Sylvain Wallez wrote:<snip/>
The flowscript allows you to implement any strategy you like for this.Well, "backtracking" means "go back to a previous state and restart
from there". And this is what continuations allow easily.
But when I use "go back" in a wizard I don't want to loose the entries already done in the second page. So simply calling the other continuation is not good in my opinion.
Want to keep the values : var form1 = new Form("form1.xml"); var form2 = new Form("form2.xml"); form1.showForm("view1.html"); form2.showForm("view2.html");
If you display form2 and then go back to form1 (even with the browser back button), the values in form2 won't be lost.
The problem is that this is not "even" but "only". Otherwise you have to use JavaScript.
Sorry, I don't get it. Do you mean "JavaScript on the browser" ?
Please read my flowscript-wizard proposal earlier in this thread. The idea is that a particular submit button (a regular one, with no JS) will trigger the wizard to go back to a previous continuation.
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com
