cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gianluca Morello" <more...@S1.my-tv.it>
Subject Re: Woody XML Binding: how to exit from continuation?
Date Sun, 02 Nov 2003 11:03:00 GMT
Hallo Bruno,

this is what i was looking for.

In this way i can go back to the form page without going to a confirm page.

My form page is a svg page that call a different woody form for each
different blocks of the page.

Thank you.


----- Original Message -----
From: "Bruno Dumon" <bruno@outerthought.org>
To: <users@cocoon.apache.org>
Sent: Saturday, November 01, 2003 11:46 AM
Subject: Re: Woody XML Binding: how to exit from continuation?


> On Thu, 2003-10-30 at 20:41, Gianluca Morello wrote:
> > Hallo,
> >
> > I'm using flow mixed with woody to bind some xml files to forms.
> > My logic is very similar to the woody sample
> >
> > I'm trying without success to exit from the continuation after saving
xml to
> > file.
> >
> > In the flow script that process the action i can do
> > cocoon.sendPage("mypage") and the pipeline of mypage is processed and
showed
> > but i remains in the same continuation.
> >
> > In simple words when the form editing and the xml binding is complete i
want
> > to go directly to http://server/mypage and not to
> > http://server/continuation.id. else mypage is not correctly initialized.
>
> So you want to see a different URL in the location bar? Then do a client
> side redirect:
>
> cocoon.redirectTo("/mypage");
>
> See also the FOM (flow object model) documentation at:
> http://cocoon.apache.org/2.1/userdocs/flow/api.html
>
> --
> Bruno Dumon                             http://outerthought.org/
> Outerthought - Open Source, Java & XML Competence Support Center
> bruno@outerthought.org                          bruno@apache.org
>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message