From adffaces-user-return-2606-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Wed Apr 04 17:46:47 2007 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 90737 invoked from network); 4 Apr 2007 17:46:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2007 17:46:47 -0000 Received: (qmail 49351 invoked by uid 500); 4 Apr 2007 17:46:54 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 49333 invoked by uid 500); 4 Apr 2007 17:46:53 -0000 Mailing-List: contact adffaces-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-user@incubator.apache.org Delivered-To: mailing list adffaces-user@incubator.apache.org Received: (qmail 49324 invoked by uid 99); 4 Apr 2007 17:46:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 10:46:53 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=MSGID_MULTIPLE_AT X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [207.155.248.47] (HELO glatton.cnchost.com) (207.155.248.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 10:46:46 -0700 Received: from D620 (h-72-244-100-226.lsanca54.covad.net [72.244.100.226]) (as justin.mckay@famis.com) by glatton.cnchost.com (ConcentricHost(2.54) Relay) with ESMTP id E981D3E85 for ; Wed, 4 Apr 2007 13:46:20 -0400 (EDT) From: "Justin Mckay" To: References: <001901c77633$88c3a000$9a4ae000$@mckay@famis.com> <5B930A45C354E84395A194D500589ED80DBE3E@jaxmsx02.nemours.org> In-Reply-To: <5B930A45C354E84395A194D500589ED80DBE3E@jaxmsx02.nemours.org> Subject: RE: Dynamic Navigation Date: Wed, 4 Apr 2007 10:46:09 -0700 Message-ID: <004b01c776e1$33114f00$9933ed00$@mckay@famis.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acd2M4hkMTuss7YAReSq3xtzElsWoQAdlJWQAA2yGbA= Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org Yeah I was using the google link as just an example for an external context. I took your advice and tried the handleNavigation. I get the same exact result as my previous attempts. More and more I am convinced this is a bug. I will add this as a comment to my JIRA issue. -----Original Message----- From: William Hoover [mailto:whoover@nemours.org] Sent: Wednesday, April 04, 2007 4:17 AM To: adffaces-user@incubator.apache.org Subject: RE: Dynamic Navigation 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().ha ndleNavigation(FacesContext.getCurrentInstance(), currentActionMethod, redirectActionMethod); -----Original Message----- From: Justin Mckay [mailto:justin.mckay@famis.com] Sent: Tuesday, April 03, 2007 5:04 PM To: adffaces-user@incubator.apache.org 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. justin.mckay@famis.com (949) 553-6564 telephone (949) 553-6559 fax http://www.famis.com