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] https:/
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?
Best regards
Alberto
Wick
Hi!
I think there are many ways to fix this, ranging from easy to complex.
The easiest one: either catch it in a IRequestCycleListener (in
onException), and “fix” the request handler by stripping the
pageAndComponent info from it
Next option: override wicket’s exception mapper (see
DefaultExcepti
Hi,
I've got some problems with 404/ 500 error codes in my wicket app that happen
to come from the past... Now, when wicket makes any url for a component this
one gets added to the path, e.g.:
http://examples7x.wicket.apache.org/forminput/?0-1.IFormSubmitListener-inputForm
So when time goes by