> I don't really have a full understanding on continuations but with JX  i 
> use continue.#{$cocoon/continuation/parent/parent/id}, i  mean pointing 
> one more parent gets me back to the page before. To be able to be sure 
> where i get back i also added  some     var continuation = 
> cocoon.createWebContinuation(); in my flow at the points i really want 
> to go back.
> 
> Tell me if it's bad practice...
> 

Hi Phil,

This works form me only partly, becaus if I go back, i keep loosing all the data
previously entered into the form.
That means the Forms are displayed correctly, but empty.

snip of my flow:
trying your solution:

cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/Form.js");

function registration() {

        var continuation = cocoon.createWebContinuation();

        var form = new Form("forms/registration.xml");
        
        form.showForm("registration-display-pipeline");
        

        
        var model = form.getModel();
        

    
        var helper = new Helper();
        var timestamp = helper.timestamp();
    
    
   var person = new Person(model.username, model.password, model.email,
model.firstname, model.sirname, model.address, model.zip, model.country,
model.birthday, model.phone, timestamp);
    

        var bizData = person.Object2bizData();
        
        var form_confirm = new Form("forms/registration_confirm.xml");
        form_confirm.showForm("registration-confirm-pipeline", bizData);
....


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to