Hi,
in your Layout component you need to add something like:

    private static final ModuleConfigurationCallback CONFIGURE_WAIT_SECONDS
= (config) -> config.put("waitSeconds", 120);
    @AfterRender
    public void configureRequireJS() {

javaScriptSupport.addModuleConfigurationCallback(CONFIGURE_WAIT_SECONDS);
    }

Best regards,
Cezary


On Wed, Aug 7, 2019 at 3:05 PM Nathan Quirynen <nat...@pensionarchitects.be>
wrote:

> Hey,
>
> How can I configure requirejs in Tapestry? I want to set the
> "waitSeconds" option for the whole application. How can I achieve this?
>
> Thanks,
>
> Nathan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to