Hi, Add target="_blank" in the HTML. In Java make sure you use ContentDisposition=INLINE.
Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Sun, May 3, 2015 at 2:42 PM, Chris <[email protected]> wrote: > Hi all, > > How is it possible to add a tag target=_blank to a resource link serving a > pdf so that a click on this resource link opens a new browser window? > Following code does not work:l ink.add(new AttributeAppender("onclick", > new Model("alert('This is my JS script');"), ";")); > > Thanks Chris > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
