Justin,

I know this will not work for the google link, but in your previous message 
(and Jira issue) you attempt to set an internal url. If the url has a 
navigation rule you can use:

FacesContext.getCurrentInstance().getApplication().getNavigationHandler().handleNavigation(FacesContext.getCurrentInstance(),
 currentActionMethod, redirectActionMethod);

-----Original Message-----
From: Justin Mckay [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 03, 2007 5:04 PM
To: [email protected]
Subject: Re: Dynamic Navigation


Well I tried to just go the external context route and low and behold, I get
the same behavior.

 

//Redirect Option

FacesContext context = FacesContext.getCurrentInstance(); 
HttpServletResponse response =
(HttpServletResponse)context.getExternalContext().getResponse(); 
response.sendRedirect("http://www.google.com";);

 

//Dispatch Option

FacesContext context = FacesContext.getCurrentInstance(); 
context.getExternalContext().dispatch("http://www.google.com";);

 

So I opened up an issue on JIRA as this is a bit of a show stopper for us L

 

http://issues.apache.org/jira/browse/ADFFACES-434

 

 

Justin McKay

Java Developer

FAMIS Software, Inc.

 

[EMAIL PROTECTED]

 

(949) 553-6564 telephone

(949) 553-6559 fax

 

http://www.famis.com 

 


Reply via email to