This content has been marked as final.
Show 3 replies
-
1. Re: redirect to an external URL from an action
hstang Jun 19, 2007 8:53 AM (in response to koenhandekyn)Hi,
Have you tried using JSF API?@In("#{facesContext.externalContext}") private ExternalContext externalContext; externalContext.redirect(...);
-
2. Re: redirect to an external URL from an action
koenhandekyn Jun 19, 2007 9:29 AM (in response to koenhandekyn)thank you very much !
it works !
i keep on finding that i'm missing some basic JSF background (I started with seam without having worked in deapth with JSF as i didn't like it a lot without seam :) )
thanx again -
3. Re: redirect to an external URL from an action
koenhandekyn Jun 19, 2007 9:30 AM (in response to koenhandekyn)CONCLUDING NOTE
it would be nice however if seam would treat action return Strings starting with "http://" differently and do the redirect automatically. that would feel natural to mee.