configuration to not remove DOM / usage with a server side framework
configuration to not remove DOM / usage with a server side framework
novotny75
Posts: 3Questions: 1Answers: 0
Hi,
I'm trying to use Wicket server side java framework to create my table, and since the table has dynamic links on one of the columns, Wicket attaches an event to the DOM which of course breaks when you go to the next page in the table, since it needs to re-attach. I read the FAQ, but out of desperation and wondering if there is any way to not change the DOM?
Thanks, Jason
This discussion has been closed.
Answers
I think Wicket's "DataTable" is all its own - i.e. nothing to do with datatables.net.
http://www.javabeat.net/displaying-data-using-datatable-in-apache-wicket/
True, wicket has a datatable, however our designer chose jquery DataTables (this project) and I'm trying to integrate it with Wicket.
Thanks, Jason
Hi,
the wicket authors wrote me:
"I am not sure how DataTables removes and re-adds the rows later. It should
use jQuery's clone(true, true) to preserve the event bindings. Ask in their
forums."
Isn't is possible to preserve event bindings?
Thanks, Jason