If you want to redirect the whole page via an Ajax call, you have to do the 
redirect on the client side via Javascript:

window.location = '/your/url'

(Actually, I think you can drop the "window", as it is implied.)

So, instead of redirecting on the server, your Ajax call should return a 
response that triggers a client-side redirect.

Anthony

On Tuesday, June 5, 2012 8:20:07 AM UTC-4, Johann Spies wrote:
>
> I am bit embarrassed by this question but the subject reflects my real 
> problem:
>
> I have a screen with a grid in the lower halve (a component) and the grid 
> is filled by data that results from a form in the top halve. This form can 
> be filled in repeatedly.
>
> I also make callbacks to the component's controller to remove or add items 
> to the grid.
>
> The grid is a selectable grid and I want to get out of the whole screen 
> when the 'submit' button in the component is clicked.
>
> The 'selectable' option takes the process to a function that redirects it 
> to another input form - and this where my problem starts:  it opens the new 
> screen in the component. At this stage I want to leave this screen and 
> start with the redirected url on a fresh screen.
>
> So how do I do that?
>
> Regards
> Johann
>
> -- 
> Because experiencing your loyal love is better than life itself, 
> my lips will praise you.  (Psalm 63:3)
>
>

Reply via email to