File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » JSF
Bookmark "EL 2.2 in JbossAS 6" Watch "EL 2.2 in JbossAS 6" New topic
Author

EL 2.2 in JbossAS 6

Jose Rodolfo freitas
Greenhorn

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: 16054
    
  21

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: http://aspose.com/file-tools
 
subject: EL 2.2 in JbossAS 6