• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL 2.2 in JbossAS 6

 
Jose Rodolfo freitas
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic