Cannot select a row on Datatable Since updating to PrimeFaces 13 #166
-
Since we updated our production application from PrimeFaces 6 to PrimeFaces 13, some of our pages with datatables act funny when the user clicks a row. They throw an error indicating a row was already selected, and they don't enable the Edit and Delete buttons. I'm attempting to reproduce the issue here, but so far, I can't get it to break. What's more I have no idea what's different about the pages which exhibit this issue, vs the pages which don't. This reproducer is based on one of the pages in our app which have this issue, but I don't see the issue here. In our application, the offending pages throw this error: If anyone has an idea why this issue occurs only in some of our code ported from PF6 to PF13, please share. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Since nobody chimed in with any ideas about this, I took a good look at the PF13 DataTable CRUD example, and I successfully implemented it locally. After spending what felt like an eternity attempting to meld together our old codebase and the new PF13 way of doing CRUD, I finally gave up and implemented a CRUD model using the PF13 example and our application simulation data. Since this succeeded, I'm going to recommend to our group that we ditch the old code and handle those 15 or so CRUD pages the way the PF13 example does. |
Beta Was this translation helpful? Give feedback.
Since nobody chimed in with any ideas about this, I took a good look at the PF13 DataTable CRUD example, and I successfully implemented it locally. After spending what felt like an eternity attempting to meld together our old codebase and the new PF13 way of doing CRUD, I finally gave up and implemented a CRUD model using the PF13 example and our application simulation data. Since this succeeded, I'm going to recommend to our group that we ditch the old code and handle those 15 or so CRUD pages the way the PF13 example does.