Reinhard Poetz dijo:
>
>
>> -----Original Message-----
>> From: Carmona Perez, David [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, November 05, 2003 5:01 PM
>> To: [EMAIL PROTECTED]
>> Subject: RE: Continuation and Java
>>
>>
>> So, the only thing I would lose if I work with Java beans is
>> the preservation of local variables values, wouldn't it?
>
> sorry, could you be more specific pls?
>
> You can do something like this:
>
> function myFlowFunction() {
>
>    var myBean = new MyBean();
>    cocoon.sendPageAndWait( "pipeline", {bean : myBean} );
>    var age = cocoon.request.getParameter("age");
>    myBean.setAge(age);
>    ...
>
> }
>
> At the end of this flow you can persist your bean (e.g. by using OJB).

Cool! :-DD

Antonio Gallardo




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

Reply via email to