Hi,

You can put the JSON file in your webapp /static folder.
Or you could use application.mountResource(...) if you want it to be served
and/or generated by Wicket.

Also please check
https://github.com/wicketstuff/core/tree/master/datatables-parent


On Tue, Sep 20, 2022 at 3:31 PM vahid ghasemi <vahidghasemi...@gmail.com>
wrote:

> Hello,
> I want to use datatables library: https://datatables.net/
> I created a behavior and override renderHead method :
> response.render(OnDomReadyHeaderItem.forScript("$('table').DataTable({" +
> ... + "});"));
>
> according to this link :
> https://datatables.net/reference/option/language.url
> I can pass the JSON file for internationalization, my JSON file should be
> after http://localhost:8080/wicket/bookmarkable/
> I don't know how can I add my JSON file.
>
> Thanks. Regards
>

Reply via email to