Error when trying to update in a dialog PrimeFaces

2

I have a button that stays inside a column in a dataTable, this button opens a dialog that contains a table with some data. But when I try to give a update=":frmPrin:dialogParecer" of the following error on the page:

  

Can not find component for expression ": frmPrin: Opinion" referenced   from "frmPrin: j_idt30: refundTable: 0: j_idt52".

This my dataTable is within tabView . And when I leave update=":frmPrin" it works, but updates the entire form. How can I only update dialog ?

    
asked by anonymous 19.08.2015 / 18:34

1 answer

3

Check the name that you put in the update, because in the message says it did not find: frmPrin: opinion and according to your post the correct would be update=": frmPrin: dialogParecer", I am either missing the dialog before I appear

  

I thought the problem had been solved however when I joined today   on the system started the error again, I was doing the following   form: update="frmPrin: j_idt30: seem to be adding this j_idt30 I saw   in the browser's developer mode, but today that id has already changed, or   either it keeps changing. What can this be?

This j_idt30 is a dynamic id, so ideally you should put in the update the id you called for the component, perhaps if you put the page code it is easier to analyze the error.

    
19.08.2015 / 19:21