You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ramy Mamdouh <ra...@imkenberg.de> on 2003/09/01 19:09:44 UTC

Is it possible to make a redirect() from the FOM?

Hello,

Is it possible to make a redirect() from the FOM?
a complete redirect, that's not a cocoon:/ sendPage() one.

That used to be in cocoon.environment.redirect() , but now in the new 
FOM this is deleted?

I'm using Cocoon-2.1 CVS.

Thanks in advance.

Ramy



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


RE: Is it possible to make a redirect() from the FOM?

Posted by Reinhard Poetz <re...@apache.org>.
try cocoon.redirectTo( uri )

Cheers,
Reinhard

> -----Original Message-----
> From: Ramy Mamdouh [mailto:ramy@imkenberg.de] 
> Sent: Monday, September 01, 2003 7:10 PM
> To: users@cocoon.apache.org
> Subject: Is it possible to make a redirect() from the FOM?
> 
> 
> Hello,
> 
> Is it possible to make a redirect() from the FOM?
> a complete redirect, that's not a cocoon:/ sendPage() one.
> 
> That used to be in cocoon.environment.redirect() , but now in the new 
> FOM this is deleted?
> 
> I'm using Cocoon-2.1 CVS.
> 
> Thanks in advance.
> 
> Ramy
> 
> 
> 
> ---------------------------------------------------------------------
> 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


RE: Is it possible to make a redirect() from the FOM?

Posted by Mark H <ma...@markhorgan.com>.
> can anyone give more information about cocoon.redirectTo ???

Not sure if there is more info on that method, though it's fairly straight
forward.

For more javascript API docs try:

FOM_Cocoon class in the package
org.apache.cocoon.components.flow.javascript.fom in the API docs, you see
the javascript methods available - they are prefixed with jsFunction_

Other more user friendly docs are in the user documentation: User
Guide>Control Flow>Javascript API, though it doesn't include redirectTo.

> -----Original Message-----
> From: gounis@osmosis.gr [mailto:gounis@osmosis.gr]
> Sent: 02 September 2003 08:38
> To: users@cocoon.apache.org
> Subject: RE: Is it possible to make a redirect() from the FOM?
>
>
>
> can anyone give more information about cocoon.redirectTo ???
>
> some urls with description or documentation?
>
>
> thnx
>
> --stavros
>
>
>
>
> On Mon, 1 Sep 2003, Mark H wrote:
>
> > Use:
> > cocoon.redirectTo("someURL");
> >
> > Mark
> >
> > > -----Original Message-----
> > > From: Ramy Mamdouh [mailto:ramy@imkenberg.de]
> > > Sent: 01 September 2003 18:10
> > > To: users@cocoon.apache.org
> > > Subject: Is it possible to make a redirect() from the FOM?
> > >
> > >
> > > Hello,
> > >
> > > Is it possible to make a redirect() from the FOM?
> > > a complete redirect, that's not a cocoon:/ sendPage() one.
> > >
> > > That used to be in cocoon.environment.redirect() , but now in the new
> > > FOM this is deleted?
> > >
> > > I'm using Cocoon-2.1 CVS.
> > >
> > > Thanks in advance.
> > >
> > > Ramy
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> >
> >
>
>
> ---------------------------------------------------------------------
> 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


RE: Is it possible to make a redirect() from the FOM?

Posted by go...@osmosis.gr.
can anyone give more information about cocoon.redirectTo ???

some urls with description or documentation?


thnx 

--stavros




On Mon, 1 Sep 2003, Mark H wrote:

> Use:
> cocoon.redirectTo("someURL");
> 
> Mark
> 
> > -----Original Message-----
> > From: Ramy Mamdouh [mailto:ramy@imkenberg.de]
> > Sent: 01 September 2003 18:10
> > To: users@cocoon.apache.org
> > Subject: Is it possible to make a redirect() from the FOM?
> > 
> > 
> > Hello,
> > 
> > Is it possible to make a redirect() from the FOM?
> > a complete redirect, that's not a cocoon:/ sendPage() one.
> > 
> > That used to be in cocoon.environment.redirect() , but now in the new 
> > FOM this is deleted?
> > 
> > I'm using Cocoon-2.1 CVS.
> > 
> > Thanks in advance.
> > 
> > Ramy
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > 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
> 
> 


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


RE: Is it possible to make a redirect() from the FOM?

Posted by Mark H <ma...@markhorgan.com>.
Use:
cocoon.redirectTo("someURL");

Mark

> -----Original Message-----
> From: Ramy Mamdouh [mailto:ramy@imkenberg.de]
> Sent: 01 September 2003 18:10
> To: users@cocoon.apache.org
> Subject: Is it possible to make a redirect() from the FOM?
> 
> 
> Hello,
> 
> Is it possible to make a redirect() from the FOM?
> a complete redirect, that's not a cocoon:/ sendPage() one.
> 
> That used to be in cocoon.environment.redirect() , but now in the new 
> FOM this is deleted?
> 
> I'm using Cocoon-2.1 CVS.
> 
> Thanks in advance.
> 
> Ramy
> 
> 
> 
> ---------------------------------------------------------------------
> 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