Hi,
On Tue, Aug 6, 2013 at 9:41 PM, Martin Beránek <mar...@martinberanek.cz>wrote: > Hi, > > I'am trying to write component similar to > http://mrhaki.blogspot.cz/2009/05/wicket-component-for-java-deployment.html > but I need to use JNLP for applet deployment. I write my own Resource > that generate JNLP file (it's xml, so I use JAXB and marschalling) and > I am also able generate script tag with appropriate content into html > page (onComponentTagBody). > > My problem is url for resource. I don't know how to generate it - each > applet on my page (there can be more applets on one page) have to has > different JNLP so some shared resource can't be used. > At http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ you may see how a resource is mounted and depending on request parameter it produces different response. You can also see how you can get url to this resource. I think you will just need to change the response content type and the content itself. Try it and come back if you have any questions. > > Thanks for help > > -- > Martin Beránek > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >