It should be possible to implement this with no bridge, core, or ICEpush modifications:
On pages that support redirection:
<ice:redirect href="#
{bean.redirectLocation}
" />
If href is not null or empty, the redirect component adds an exec navigator.location=href to the partial response and invokes responseComplete(). This can be used when invoked via push or via a user interaction.
The "trick" in using this technique is to store the href so that it is accessible during rendering. Since a typical use case would be to trigger a redirect in one session from another, the method required would be to store the href in the application database, then invoke PushRenderer.render(). Another common case would be a redirect triggered via push after a long-running process. In that case, the completion of the long-running process can set the href and store it along with the completion status of the process.
It should be possible to implement this with no bridge, core, or ICEpush modifications:
On pages that support redirection:
<ice:redirect href="#
{bean.redirectLocation}" />
If href is not null or empty, the redirect component adds an exec navigator.location=href to the partial response and invokes responseComplete(). This can be used when invoked via push or via a user interaction.
The "trick" in using this technique is to store the href so that it is accessible during rendering. Since a typical use case would be to trigger a redirect in one session from another, the method required would be to store the href in the application database, then invoke PushRenderer.render(). Another common case would be a redirect triggered via push after a long-running process. In that case, the completion of the long-running process can set the href and store it along with the completion status of the process.