Yeah, that can be kind of a pain. The way we've gotten around it is to define a "utility" managed bean that has instance getters that return the values of these (and other) static constants. Then we just use these utility beans in our EL expressions.
- Brendan -----Original Message----- From: Volker Weber [mailto:[EMAIL PROTECTED] Sent: Saturday, September 10, 2005 4:58 AM To: MyFaces Discussion Subject: Re: EL public static constant Hi, no EL can't, but JSP can. If you just need it for output you can do something like <t:out value='<%= "Integer.MAX_VALUE = " + Integer.MAX_VALUE %>' /> or if you need the value inside of EL <t:out value='<%= "#{" + Integer.MAX_VALUE + "}" %>' /> but it's a bit complicated to construct a valid EL expression. Or you extend VariableResolver to handle such expressions, could be usefull sometimes. Regards Dave wrote: > Can EL access public static constant? For example, "#{Integer.MAX_VALUE}" > > ------------------------------------------------------------------------ > Click here to donate to the Hurricane Katrina relief effort. > <http://store.yahoo.com/redcross-donate3/> -- Don't answer to From: address! Mail to this account are droped if not recieved via mailinglist. To contact me direct create the mail address by concatenating my forename to my senders domain.

