cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Behrens <Jan.Behr...@offis.de>
Subject Re: Auto forwarding after successful continuation
Date Wed, 22 Nov 2006 09:25:46 GMT
Hi,

bear with me - it has been a short night :) Using cocoon.redirectTo() 
instead of cocoon.redirect() works.

Mea culpa, 

Jan

> thanks Mark for the pointer! If I use "cocoon.redirect(
> "//saveOrder.do?id="+documentUri,true);" I unfortunately get the 
following 
> error:
> 
> org.mozilla.javascript.EcmaError: redirect is not a function.
> TypeError - 
> file:/D:/programming/server/JBoss.4.0.4/server/default/.
> /tmp/deploy/project/cforms/flow.js 
> - 25:0
> 
> Any ideas how to do this / get around this error? I am running cocoon 
> 2.1.9 from within a Struts based webapp on JBoss 4.0.4.
> 
> TIA, Jan
> 
> Mark Lundquist <ml@wrinkledog.com> schrieb am 22.11.2006 02:57:16:
> 
> > 
> > On Nov 21, 2006, at 5:55 PM, I wrote:
> > 
> > >    cocoon.redirectTo (someUri, true);
> > 
> > actually the value of the second parameter will depend on your 
> > situation... see http://cocoon.apache.org/2.1/userdocs/flow/api.html.
> > 
> > ?ml?
> > 
> > 
> > ---------------------------------------------------------------------
> > 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


Mime
View raw message