Hi Johannes,
I haven't used it, but something like below will move you in the right
direction:
(You might need to do something in the decorateScript method to
prevent the onclick from bubbling)
public class ConfirmationLink extends AjaxFallbackLink
{
public ConfirmationLink(String id)
{
I have read some suggestions about adding JavaScript to Links but I
think this is a very basic behaviour that should be added to Wicket itself.
You could create such a component and add it (or propose to add it) to
wicket minis (wicket-stff project).
Eelco