Example for internal Grid editor and JPA
Hi,
it took me quite some time to figure out how to save an item which was edited by the internal Grid editor to a JPA database. I did not want to use the JPAContainer, as the documentation states it is now deprecated. Unfortunately, there is little documentation and examples on which events to register to, and which data to retrieve to get the actual bean, which can be persisted, so I think an example would be quite helpful.
Could you provide some, or should i try to make one and crate a pull request?
Cheers, Chris
Hi,
I don't remember exactly what features of Table is used in this example. I'm not a big fan of the Grid's inline editor form as it seldom works in real life, but if some simple feature could be implemented with it, maybe it could indeed work.
Feel free to suggest a pull request!
Maybe the "Product" view could be replaced with Grid editor based implementation? That should be simple enough.