Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 24632 invoked from network); 4 Jun 2007 07:44:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jun 2007 07:44:16 -0000 Received: (qmail 56591 invoked by uid 500); 4 Jun 2007 07:44:17 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 56164 invoked by uid 500); 4 Jun 2007 07:44:15 -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 56153 invoked by uid 99); 4 Jun 2007 07:44:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 00:44:15 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of madan.tobago@gmail.com designates 64.233.166.176 as permitted sender) Received: from [64.233.166.176] (HELO py-out-1112.google.com) (64.233.166.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 00:44:10 -0700 Received: by py-out-1112.google.com with SMTP id p76so2720767pyb for ; Mon, 04 Jun 2007 00:43:49 -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:references; b=F2iteSrP/X0E5bplsd2U7VIG7jeTxejpl68j8cW02EMMnbhN/x1N0ZZvqSkGTtgmcbizZLO31+U3OifN7599zhJ+x29WPP5pXrXGUTiHaksspeKvoRd+EJILDC1Osthu6YqiX/uJn0mLT1liuhqiNYRIxa41LUo+cn/shL+HPog= 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:references; b=clp4oTTWQrIzufNjJg5Fb+BfaKA4POUmvJ4JDWJQzL3Zfr3Qs0TgrTHxqB1w2+uJxgaAKuKf1t6vVotNZy2au3bMOxRapOg3kPWF/K3RekvRGa/lpbFYyKdKMBSr2gfxlrjTP//PttGyy/f5sLQDPlkn0I2VdbuKjh0bENEwfzw= Received: by 10.65.141.18 with SMTP id t18mr6358060qbn.1180943029177; Mon, 04 Jun 2007 00:43:49 -0700 (PDT) Received: by 10.65.183.3 with HTTP; Mon, 4 Jun 2007 00:43:49 -0700 (PDT) Message-ID: Date: Mon, 4 Jun 2007 13:13:49 +0530 From: "Madan Narra" To: "MyFaces Discussion" Subject: Re: [Tobago] Use static Variables in Tobago Pages In-Reply-To: <4663B83E.5070305@atanion.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18021_15415740.1180943029123" References: <4663B83E.5070305@atanion.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_18021_15415740.1180943029123 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Bernd, I used the Class as a Managed Bean and specifid its scope as " application ". But no success. public *static* String *loginError* = "0001"; This is the varibale i declared in ErrorMessages.java with static . Was getting this error when used as such in jsp page javax.faces.el.PropertyNotFoundException: Bean: com.mycompany.util.ErrorMessages, property: loginError *Regards*, Madan N ------=_Part_18021_15415740.1180943029123 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi Bernd,
 
I used the Class as a Managed Bean and specifid its scope as " application ". But no success.
 
public static String loginError = "0001"; This is the varibale i declared in ErrorMessages.java with static .
 
Was getting this error when used as such in jsp page
 
<tc:out value="#{errorMessages.loginError}" />
 
javax.faces.el.PropertyNotFoundException: Bean: com.mycompany.util.ErrorMessages, property: loginError

Regards,

Madan N

------=_Part_18021_15415740.1180943029123--