myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madan Narra" <madan.tob...@gmail.com>
Subject Re: [Tobago] Use static Variables in Tobago Pages
Date Mon, 04 Jun 2007 07:43:49 GMT
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

Mime
View raw message