How to create updateable panel using AjaxLink of Wicket?

Posted by Arne on Stack Overflow See other posts from Stack Overflow or by Arne
Published on 2010-03-23T10:49:44Z Indexed on 2010/03/23 10:53 UTC
Read the original article Hit count: 261

Filed under:
|
|

I try to realize a link (in fact many links) that update a table in an website using an AjaxLink of Wicket. But I fail, the table is never updated (I have "setOutputMarkupId(true)" and call "addComponent", but there must be something other thats wrong).

How can I realize a panel with a number of links and a table that displays dynamic data, dependent on the link clicked? Can someone give an example (Maybe two links, when the first one is clicked the table displays two random numbers from 1-10, when the second is clicked the table displays random numbers from 1-100)? Without reloading the entire page, but only the html for the table?

© Stack Overflow or respective owner

Related posts about java

Related posts about wicket