Ok so I am really stuck now. I have a h:datatable and the only way to get the row details seems to be DataModel#getRowData(). Unfortunately ListDataModel which is needed to wrap the necessary data is NOT serializable so will not work on GAE, and I really need it to work! Does anyone have any idea about any workaround or some way to make it function.
Help much appreciated!
Ok so I am really stuck now. I have a h:datatable and the only
Share
Mark the property
transient(so that it will be skipped during serialization) and introduce lazy loading in the getter.E.g.
There are by the way alternate ways to retrieve the current row. See also How can I pass selected row to commandLink inside dataTable?