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
[EMAIL PROTECTED]
+01 707 773-4646



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



Reply via email to