Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 97930 invoked from network); 19 Jul 2007 19:42:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jul 2007 19:42:55 -0000 Received: (qmail 85556 invoked by uid 500); 19 Jul 2007 19:42:24 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 85522 invoked by uid 500); 19 Jul 2007 19:42:24 -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 85504 invoked by uid 99); 19 Jul 2007 19:42:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2007 12:42:24 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of andrew.rw.robinson@gmail.com designates 209.85.132.240 as permitted sender) Received: from [209.85.132.240] (HELO an-out-0708.google.com) (209.85.132.240) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2007 12:42:21 -0700 Received: by an-out-0708.google.com with SMTP id c3so177565ana for ; Thu, 19 Jul 2007 12:42:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Vnikhuw3b0rzRae963zfWCjGfltg4jFCrhBq/odjcaxb/IJF/BvE2fu96n/2d3bmZd/uQVOWka6hrxOzCI0UUSKBKJnT8K9/7HB4b5uaeE06aGSL7gdAYmAdyZYrctenGLyMdYiZ689vLgxXlwdQjwKjKs+Qg8kGhAgWzlh7F8M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QxAjz3biv0XGcXLqF3MAtSIQssNYSyNck8ln0Mcbc9HHwNqneKw5ZliaqBSBGUkjBQFWGUy2rCv9aFXIPACr2Bi6whZphxo4Sy/ryQnaP+S/+kHrvHi/ZYA4oiQw+eSVsfa1caiURsSod5DtdJ+P7M7k86ynZ7muXsrbnFXRJjA= Received: by 10.100.120.5 with SMTP id s5mr1733070anc.1184874120897; Thu, 19 Jul 2007 12:42:00 -0700 (PDT) Received: by 10.100.191.4 with HTTP; Thu, 19 Jul 2007 12:42:00 -0700 (PDT) Message-ID: Date: Thu, 19 Jul 2007 13:42:00 -0600 From: "Andrew Robinson" To: "MyFaces Discussion" Subject: Re: Generic JSF question In-Reply-To: <54e234710707191236k59f334b3lb28a852144d74d64@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <54e234710707191202y54deed6ay681ea9463bf3e39d@mail.gmail.com> <54e234710707191236k59f334b3lb28a852144d74d64@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Access the bean through a faces context in the servlet: http://wiki.apache.org/myfaces/AccessFacesContextFromServlet Then you can use FacesContext.getApplication().createValueBinding(String).getValue(FacesContext); Where the "#{beanName}" is string parameter. On 7/19/07, CD wrote: > As I would assume. > > The issue I am seeing in this particular instance is this (I'll try to > shorten the description as details really aren't necessary for now): > > View/Code description: We have a page with links that are generated from > the rows in a bound datatable (initially populated in the constructor of the > bean). The links point to a servlet which, in turn, acquires the instance > of the bean from the session by name. > > Issue: When clicking on one of these links for the first time when the > session is created, the servlet returns nothing (servlet used to stream a > pdf from a backend source FYI). This behavior repeats ad infinitum until a > submit() is performed on the form. Once this submit is performed, clicking > on the links yields a result as expected (PDF shown). > > Any thoughts? > > > > > On 7/19/07, Andrew Robinson wrote: > > When it is created by the variable resolver (first time it is accessed) > > > > On 7/19/07, CD < dcypher67@gmail.com> wrote: > > > At what point in the lifecycle is a bean declared as "session" scoped > get > > > stored in the session? > > > >