Re: Custom type for

2018-06-29 Thread Sebastien Briquet
Hi, You can extend an AbstractStringResourceStream [1] and then pass its content to a StringHeaderItem [2] [1] https://github.com/sebfz1/wicket-jquery-ui/blob/wicket8.x/wicket-jquery-ui-core/src/main/java/com/googlecode/wicket/jquery/core/template/JQueryTemplateResourceStream.java#L69 [2]

Custom type for

2018-06-29 Thread Alberto Brosich
Hello, I need to put a script tag in the header with a custom type ("application/ld+json"). I used JavaScriptHeaderItem and it put "text/javascript" as type attribute and it seems it's not possible to set it. Also other HeaderItem classes do not help. Any suggest? B