I'm trying to establish a bidirectional data binding as follows:
<h:outputText value="#{cc.getAspect('meta').metaInfo.previousValue}" />
But I'm getting the following Exception, only when writing back though (the value is initially displayed just fine upon loading the page):
Caused by: javax.el.PropertyNotFoundException: /resources/meta.xhtml @23,124
value="#{cc.getAspect('meta').metaInfo.previousValue}":
The class 'org.foo.client.jsf.UIComponent' does not have the property 'getAspect'.
Now I'm wondering:
1) The getAspect
method is definitely there (double checked, also it works upon read after all). By "property" does JSF denote a "field" and is actually implicitly trying to access setgetAspect
or somthing? If so, why?
2) Why would it even try to write, that is to access a setter, on the getAspect
in the first place?? The only value that is or should be written is previousValue
, just located down the object path cc.getAspect('meta').metaInfo.previousValue
which only reads the meta aspect via getAspect.
Any ideas greatly appreciated, thanks
EDIT: Environment: JBoss EAP 6.1.0.GA, JSF Implementation: Mojarra 2.1.19