Hi, See https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/master/bootstrap-core/src/main/java/de/agilecoders/wicket/core/markup/html/bootstrap/common/NotificationPanel.java#L108 It is a custom FeedbackPanel that uses a Panel instead of a Label for the feedback messages. This way you can put anything inside it.
Martin Grigorov Wicket Training and Consulting On Fri, May 2, 2014 at 9:01 PM, Entropy <blmulholl...@gmail.com> wrote: > 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 > >