Thanks, Erik. But I need to have this behavior initiated in response to an ajax event (say, on an onchange for a select drop down).
On Mon, Jun 22, 2009 at 2:00 PM, Erik van Oosten<e.vanoos...@grons.nl> wrote: > You can use ExternalLink with a mailto: url. > > Regards, > Erik. > > Aaron Dixon wrote: >> >> How do I redirect to a mailto: url? This doesn't seem to work: >> >> final String url = "mailto:..."; >> getRequestCycle().setRequestTarget(new IRequestTarget() >> { >> �...@override >> public void detach(RequestCycle requestCycle) {} >> �...@override >> public void respond(RequestCycle requestCycle) { >> Response response = requestCycle.getResponse(); >> response.reset(); >> response.redirect(url); >> } >> }); >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org