This content has been marked as final.
Show 3 replies
-
1. Re: Redirect to external site in faces-config?
ahoehma Sep 1, 2010 2:35 AM (in response to jjmiller)Hi,
I think that's not possible with default jsf (1.1, 1.2 ... 2.0?!).
You can write your own navigation handler, there you can check for "external" view-ids and do a http-redirect.
Regards
andreas
-
2. Re: Redirect to external site in faces-config?
ilya_shaikovsky Sep 1, 2010 5:19 AM (in response to ahoehma)You can write your own navigation handler, there you can check for "external" view-ids and do a http-redirect.
that sounds like a solution. But the easier way just to use h:outputLink with needed href. Or if need to perform the action - use h:command and in action perform call to facesContext.externalContext.redirect('...');
-
3. Re: Redirect to external site in faces-config?
jjmiller Sep 1, 2010 8:10 AM (in response to ilya_shaikovsky)Ok, that's what I was thinking. I'm currently using an h:outputLink, but was hoping there was a way to do it with the faces-config. Thanks for the replies.