This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JSF and the fly likes EL 2.2 in JbossAS 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "EL 2.2 in JbossAS 6" Watch "EL 2.2 in JbossAS 6" New topic

EL 2.2 in JbossAS 6

Jose Rodolfo freitas

Joined: Sep 01, 2005
Posts: 9
Consider the class:

It should be possible to access both foo property and testString method through EL v2.2, right? or am I missing something?

I've already tried:

But the server tells that it can not find the testString property whichever way I try using the method.

-SessionBean-TestBean_$$_WeldProxy' does not have the property 'testString'.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16470

No, that won't work.JSF value attributes refer to properties, not arbitrary Java code. To make your sample elements work, you'd need a "public String getTestString()" method.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: EL 2.2 in JbossAS 6