i'm using primefaces , have line:
<p:ajax update="toupdate">
the problem is, id not exists on page. ( page dynamic , contains part have specific id , not) when exists, works great, when id doesn't exist, component crash - (probably it's validation issue)
how can fix it?
is known issue?
thanks!
you need provide rendered component update, example:
<p:ajax update="toupdate"> <h:panelgroup id="toupdate"> <p:datatable id="tableid" rendered="#{bean.somecondition>"... </h:panelgroup>
so, if have component can o or not visible, not use update, because can out of components tree. instead, use component (container) sure rendered , present in components tree.
Comments
Post a Comment