I have a p:datatable
within a p:rowexpansion
that has a p:column
containg a h:inputText
form to change some value in the backing bean:
<p:dataTable var="myVar">
<p:rowExpansion>
...
<p:dataTable value=#{myVar.someList} var=invoiceSummationLine">
<p:column>
<h:inputText value="#{invoiceSummationLine.amountAsDouble}" disabled="#{backerBean.savedOK}" size="10"/>
</p:column>
</p:dataTable>
</p:rowExpansion>
</p:dataTable>
"savedOK" is only toggled after the entire form is submitted and validated some other place.
The problem is that when I close the rowExpansion, not only does the values in the h:inputText not get remembered upon re-opening, the log also throws JSF warnings of the kind:
There should always be a submitted value for an input if it is rendered, its form is submitted, and it was not originally rendered disabled or read-only. You cannot submit a form after disabling an input element via javascript. Consider setting read-only to true instead or resetting the disabled value back to false prior to form submission.
from what I understand this has to do with some mis-matching of the disabled states on input forms, but I cannot find other explanations for how to solve this issue on rowToggle, only for generic form submissions. Anyone?