This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The problem is that I want to update by ajax components that are inside composite components.
I have it working for one case, but I want to add another function and I can´t figure out what is the path I should update.
I Have the composite components: filter.xhtml, datatable.xhtml, and confirmDelete.xhtml
I created another that is: crud.xhtml that has all three of those...
This case, IT WORKs. Because this is the deal:
I have the ID crud for that comp.
And inside the Filter, for eg I update like this:
or the data table (remember, it is inside another datatable):
But now I want to use the filter and datatable for another function, witch is LOOK UP.
The idea is: I have a lookup.xhtml that has two fields and one button.
First field is a text so the person types the ID of the entity...
Secound field is a disable just to show the entity name, eg.
The third is a button that opens up a dialog so the person can use the filter and datatable and select one entity.
So, lets look at the lookup component:
Well, I´m trying, but I got:
And I tryed passing ":responsavelLookup:filterForm" "mainForm:responsavelLookup:filterForm" or ":mainForm:responsavelLookup:filterForm"..
All same errors
Maybe this is an easy thing for advanced JSF developers, but it is very hard for me.