Code: Select all
<p:treeTable
id="steps"
value="#{checklistPC.treeNode}"
var="step"
paginator="false"
editable="true"
editMode="cell"
reflow="true">
<p:ajax
event="cellEdit"
listener="#{checklistPC.onCellEdit}"
partialSubmit="true"
process="@this" />
,,,,
Code: Select all
<p:treeTable
id="steps"
value="#{checklistPC.treeNode}"
var="step"
paginator="false"
editable="true"
editMode="cell"
reflow="true">
<p:ajax
event="cellEdit"
listener="#{checklistPC.onCellEdit}"
partialSubmit="true"
process="@([data-rk='1')" />
,,,,
When I reviewed my other tests, I confirmed that ajax always sends the treeTable ID regardless of the value of the process attribute so it appears to be impossible to limit treeTable to sending anything less than the entire table.
Is there a reason for this behaviour?
The following are some similar links:
https://stackoverflow.com/questions/162 ... jax-submit
https://stackoverflow.com/questions/230 ... -selection