JSF property not found (javax.el.PropertyNotFoundException: Target Unreachable)

0

I'm starting an application in PrimeFaces. I made a small project that has only one model class. I created a repository class where I put an arraylist of that class.

I developed a small CRUD page with three functionalities: ArrayList Search, DataTable and Object Maintenance (inclusion, change, deletion and query).

Managed Bean (ManagedBean, ViewScoped) has three properties: A search name, repository, and object above for CRUD. It has search, insert, delete, query and update methods.

Doing the project with RichFaces everything works normally. Making the project with PrimeFaces when I get to the Object Maintenance step gives the error: javax.el.PropertyNotFoundException: Target Unreachable.

I believe it is due to the implementation of the CDI in the new version of JAVAX.FACES. I'm using Mojarra.

I did two more tests: one of them using only JSF (without RichFaces and without PrimeFaces) and the problem persists. The other using MyFaces I still could not put to execute.

I've made the four projects publicly available on my Google Drive: link

If anyone can help me I thank you!

Orlando Days.

    
asked by anonymous 17.09.2016 / 14:25

1 answer

0

I managed to resolve. I put CDI and WELD in the project. I put another form (h: form) on the page. The project project can be downloaded from my google drive: link

Thanks for the help.

    
18.09.2016 / 19:37