AFAIK you can use attribute 'defer' with JavaScriptHeaderItem. I'm not sure that exists a standard way to add other attribute to <script> tag.
On Mon, Jun 9, 2014 at 1:20 PM, Simon B <simon.bott...@gmail.com> wrote: > Hi, > > I'm using Wicket 6.15 > > What is the best way to set the async attribute when rendering a javascript > header item. > > I would like to change : > > > > > to > > > > or even > > > > I see that there is a flag for setting the defer attribute but could not > find anything for async. > > Any suggestions? > > Cheers > Simon > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/javascript-reference-header-item-with-async-attribute-tp4666155.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 > >