From adffaces-user-return-2561-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Tue Apr 03 00:13:36 2007 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 1659 invoked from network); 3 Apr 2007 00:13:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2007 00:13:36 -0000 Received: (qmail 13361 invoked by uid 500); 3 Apr 2007 00:13:43 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 13341 invoked by uid 500); 3 Apr 2007 00:13:42 -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 13332 invoked by uid 99); 3 Apr 2007 00:13:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 17:13:42 -0700 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,MSGID_MULTIPLE_AT X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [207.155.252.18] (HELO leviathan.cnchost.com) (207.155.252.18) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 17:13:33 -0700 Received: from D620 (m250e36d0.tmodns.net [208.54.14.37]) (as justin.mckay@famis.com) by leviathan.cnchost.com (ConcentricHost(2.54) Relay) with ESMTP id 3598EB8C5 for ; Mon, 2 Apr 2007 20:13:11 -0400 (EDT) From: "Justin Mckay" To: Subject: Dynamic Navigation Date: Mon, 2 Apr 2007 17:13:23 -0700 Message-ID: <003301c77584$e9e9e060$bdbda120$@mckay@famis.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0034_01C7754A.3D8B0860" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acd1hOQqsdwaxQBHRC+ouWs5yKRyig== Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_0034_01C7754A.3D8B0860 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi all, I am in the process of moving our project from Oracle's ADF to Trinidad. One thing we are having a problem with is dynamic navigation from a ValueChangeEvent(selectOneChoice). This did work with Oracle's ADF but is not working now. It seems like the page is created(backing beans are called and the page seems to be generated), we are just not actually moving to that page. One thing to note is this code does work from an ActionEvent(Button or Link). Any ideas or other strategies to consider? String path = "/misc/finder.xhtml"; FacesContext fContext = FacesContext.getCurrentInstance(); ViewHandler vh = fContext.getApplication().getViewHandler(); UIViewRoot uroot = vh.createView(fContext, path); fContext.setViewRoot(uroot); Justin McKay Java Developer FAMIS Software, Inc. justin.mckay@famis.com (949) 553-6564 telephone (949) 553-6559 fax http://www.famis.com ------=_NextPart_000_0034_01C7754A.3D8B0860--