-
1. Re: rich:inplaceInput + rich:dataTable
razvanp Apr 13, 2008 4:33 PM (in response to tgebarowski)Hi,
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.
Razvan -
2. Re: rich:inplaceInput + rich:dataTable
ilya_shaikovsky Apr 14, 2008 7:16 AM (in response to tgebarowski)you should use support with event="onviewactivation" in order to submit value right after it was changed in inplace.
-
3. Re: rich:inplaceInput + rich:dataTable
ilya_shaikovsky Apr 14, 2008 7:25 AM (in response to tgebarowski)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.
-
4. Re: rich:inplaceInput + rich:dataTable
kriss_96 Aug 5, 2011 5:31 PM (in response to ilya_shaikovsky)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...