I am beginner with RichFaces and I try to implement the same simple use case of tabled data edit.
There is a sample in the demo, Rich Input / Inplace Input, where we can see a editable cell table.
It seems that after a change, the table does not call the apropriate "Set" method of the bean. I have tried to change the code, adding a button to submit the form, than the change is committed to the bean.
Further, if the user changes more than one value, you may see the the previous changed value assuming its original value. In my opinion this is a bug in RichFaces, since it happens even on the online version.
I have tied, without success, to enclose the inplaceInput in a form, which I tried to submit (through an a4j:support event="onChange"), but it is not working, and even worse, it doesn't report any error or clue to debug the issue.
you should use support with event="onviewactivation" in order to submit value right after it was changed in inplace.
b.t.w. thanks for your remark about demo. It works with this error because bypassUpdates set to false in a4j:support. Will be resolved.
I have the same problems... I can't save my input values.
I have a list of bean showed in a table.
When I edit a cell, the inplaceInput doesn't calls my beans setters. I suppossed that is because the beans are in a list and it doesn't know wich bean update.
So, I try with onViewActivation event, but I don't really know how to send to my Bean wich row and wich column have been changed...