Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 62677 invoked from network); 21 Nov 2007 05:33:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Nov 2007 05:33:54 -0000 Received: (qmail 6309 invoked by uid 500); 21 Nov 2007 05:33:37 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 6086 invoked by uid 500); 21 Nov 2007 05:33:36 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 6075 invoked by uid 99); 21 Nov 2007 05:33:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 21:33:36 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2007 05:33:39 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IuiD8-00019h-Lz for users@myfaces.apache.org; Tue, 20 Nov 2007 21:33:18 -0800 Message-ID: <13871389.post@talk.nabble.com> Date: Tue, 20 Nov 2007 21:33:18 -0800 (PST) From: pdt_p To: users@myfaces.apache.org Subject: Question about FacesContext MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: pinlie@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi... I have 1 JSF ear, and 1 ejb ear deployed in a Jboss. normally, we execute FacesContext.getCurrentInstance() in order to get current facescontext. But this method will return null when you execute it in one of the ejb class. is that possible to get JSF faces context from one of ejb class? if it's possible, how to do it? any idea thanks Pdt -- View this message in context: http://www.nabble.com/Question-about-FacesContext-tf4848184.html#a13871389 Sent from the MyFaces - Users mailing list archive at Nabble.com.