Forums Register Login

Datamodel always returning first row

+Pie Number of slices to send: Send
Hello everyone, here is my problem :

I have two datatable in a jsf page, both linked to two different datamodel. I can perform some operation on each row with a commandbutton binded to a given function in my backing bean. Everything works fine with my first datatable, but my second one always select the first row of the datamodel when I try to get it with getRowData. I've tried a few things, but now I'm out of ideas. Also, the backing beans has a session scope.

Thanks in advance,

Simon
+Pie Number of slices to send: Send
Well nevermind, I just found the cause of the problem, I guess you can close that topic.
snakes are really good at eating slugs. And you wouldn't think it, but so are tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1245 times.
Similar Threads
Dynamically Edit A Column of an Htmldatatable Row
[JSF] getRowData return always the first row.
how to delete a row from a datatable?
JSF Request Processing Lifecycle Basics
JSF dataTable
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 04:46:55.