-
1. Re: editable table
mrohad Jul 16, 2007 1:30 PM (in response to mrohad)no one knows?
i would like to edit a table right on the page and click save..... -
2. Re: editable table
smithbstl Jul 16, 2007 2:55 PM (in response to mrohad)Whats stopping you from using h:dataTable with input components in your columns?
-
3. Re: editable table
kukeltje Jul 16, 2007 3:30 PM (in response to mrohad)smithbstl... from what I tried months ago, that does not work. If you have prove otherwise, please let me know
-
4. Re: editable table
smithbstl Jul 16, 2007 5:05 PM (in response to mrohad)I just put together a simple example, it works for me.
What specifically what not working for either of you?
If you just bind a @DataModel to a datatable with input components in your columns and place a submit button on the form with some trivial action (you can call em.flush() from the action if you like), the DataModel will get updated with your changes. Note, I am using a Seam Managed Persistence context, but an Extended PC would work as well. -
5. Re: editable table
mrohad Aug 20, 2007 2:27 AM (in response to mrohad)smithbstl - can u please send code example?