I use primefaces 5.2 end Extention. I have component MasterDetail and in Autocomplete.
When I use Autocomplete with event selectItem I get error:
org.primefaces.application.exceptionhandler.PrimeExceptionHandler handle
SEVERE: Target Unreachable, identifier 'slownikDetail' resolved to null
javax.el.PropertyNotFoundException: Target Unreachable, identifier 'slownikDetail' resolved to null
at com.sun.el.parser.AstValue.getTarget(AstValue.java:131)
at com.sun.el.parser.AstValue.setValue(AstValue.java:185)
at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:286)
at com.sun.faces.facelets.el.TagValueExpression.setValue(TagValueExpression.java:131)
at javax.faces.component.UIInput.updateModel(UIInput.java:832)
at javax.faces.component.UIInput.processUpdates(UIInput.java:749)
So far when I had this problem in CommandButton I set attribute process=@this and it was solved. But in this case is problem because Autocomplete have not attribute process?
I don't have any idea. Help me, please
MasterDetail Autocomplete
Even if this thread is old i observed this error very often. In your command component where you jump to the select level, it often helps to update the whole form / masterDetail.
A second workaround you can try to put an empty dummy <pe:selectDetailLevel/> inside your autocomplete.
In PrimeFaces 6.1 autocomplete is also not working inside masterdetail level in case a rendered attribute is used on it or one of its parents.
Code: Select all
<p:commandButton process="@this" update="@form">
<pe:selectDetailLevel level="2"/>
</p:commandButton>
In PrimeFaces 6.1 autocomplete is also not working inside masterdetail level in case a rendered attribute is used on it or one of its parents.
Primefaces: 11.0.0 RC2
Primefaces-Extension: 11.0.0
PrimeFaces-Mobile: 11.0
OmniFaces: 3.11
Jsf: Mojarra 2.3.8
Server: Glassfish 5.1.0
Primefaces-Extension: 11.0.0
PrimeFaces-Mobile: 11.0
OmniFaces: 3.11
Jsf: Mojarra 2.3.8
Server: Glassfish 5.1.0
-
- Information
-
Who is online
Users browsing this forum: No registered users and 22 guests