cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jantje <janvanop...@skynet.be>
Subject RE: cocoon.exit();
Date Thu, 14 Sep 2006 13:22:39 GMT

I think it is not working beceause i can still use the "back" button in my
browser!!!

OK, maybe no new continuation is created.. BUT, with the "BACK" - button I
can still enter a previously created continuation..

Maybe there is no function to really STOP the flow, in a cocoon flowscript?

Does someone know the answer?

Greetings, Jan from Belgium








Jeroen Reijn wrote:
> 
> Hi Jantje,
> 
> why do you think the cocoon.exit function is not working? Does it not exit
> the flowscript without creating a continuation?
> 
> Regards,
> 
> Jeroen Reijn
> 
> -----Original Message-----
> From: jantje [mailto:janvanoppen@skynet.be]
> Posted At: Thursday, September 14, 2006 2:34 PM
> Posted To: Cocoon User List
> Conversation: cocoon.exit();
> Subject: cocoon.exit();
> 
> 
> 
> Hi there,
> 
> I think the cocoon.exit() function is not working? how can I check this?
> 
> My code is:
> 
> function registration() {
>     var varContinue = true;
>     while(varContinue) {
>       var registrationForm = new
> Form("cocoon:/formDefinition/registration.xml");
>       var rModel = registrationForm.getModel();
>       rModel.date = new java.util.Date();
>       registrationForm.showForm("registration/"
>                                 + cocoon.request.get("identificaton")
>                                 + "-"
>                                 + cocoon.request.get("password")
>                                 + "-"
>                                 + "SB"
>                                 + "-"
>                                 + "SB"
>                                 + "-"
>                                 + "SB"
>                                 + "-"
>                                 + "SB"
>                                 + "-"
>                                 + "SB"
>                                 + ".display");
>       if(registrationForm.submitId == "logout") {
>         cocoon.request.setAttribute("form1",
> registrationForm.getWidget());
>         //cocoon.sendPage("form1-success-pipeline.xsp");
>         cocoon.sendPage("registration-success");
>         varContinue = false;
> 	cocoon.exit();
>       }
>     }
> 
> }/*
> -- 
> View this message in context:
> http://www.nabble.com/cocoon.exit%28%29--tf2271324.html#a6304867
> Sent from the Cocoon - Users forum at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 

-- 
View this message in context: http://www.nabble.com/cocoon.exit%28%29--tf2271324.html#a6305790
Sent from the Cocoon - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message