You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by David Sean Taylor <da...@bluesunrise.com> on 2003/01/09 05:29:27 UTC
Re: setRedirectURI
On Thursday, January 9, 2003, at 12:01 PM, Christophe wrote:
> The method rundata.setRedirectURI doesn't work in my velocity action
> portlet. I don't understand why.
> Like for the security management code, I want point to another pane
> (from a browser portlet to a form portlet).
> Which condition is needed to run this method properly ?
>
> here is my code :
> ....
> duri.addPathInfo(OJBConstants.PANE_NAME,
> OJBConstants.PANEID_STRATEGY_UPDATE);
> duri.addPathInfo(OJBConstants.PARAM_MSGID,
> OJBConstants.MID_INVALID_ENTITY_NAME);
> rundata.setRedirectURI(duri.toString());
>
> Even a simple : rundata.setRedirectURI(http://jakarta.apache.org);
> doesn't work. Why ?
>
>
> Thanks,
> Christophe
>
By the time the Velocity action is called, Its too late in the Turbine
pipeline.
The Velocity action cannot redirect, it is not a true Turbine action.
In order to do so, you must use a 'normal' Turbine action.
--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
+01 707 773-4646
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>