You can look at how a link/button renders its url and render that to the message.
** Martin 2014-05-02 22:01 GMT+03:00 Entropy <blmulholl...@gmail.com>: > I am currently putting a link into one of our feedback messages so give the > user a quick way to navigate in response to a particular condition. I am > doing it by just writing the tags into the message like so:String url = > this.urlFor(SearchResultPage.class, new PageParameters().set("newSearch", > "True")).toString();error("The selected records have been successfully > updated. Search case for updated records <" + url + "> .");this > works...about 90% of the way. But I recently discovered that I need to do > a > little work before that link navigates away. I need to get the onclick > event. How can I get an event on the server that the link has been clicked > and react to it?I am considering a workaround wherein I could provide an > extra parameter that the target page detects, and causes it to run my code > there. But that's not ideal. I'd rather keep this page's code in this > page. Is there a way to do this? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Link-in-Feedback-Message-tp4665648.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >