Hi Cezary,
I appreciate this hint and was not aware about this time limit.
I give it a try, thanks!
Greetings, Erich
Am 26.03.2018 23:45, schrieb Cezary Biernacki:
requirejs/AMD is much improvement of other "plain" Javascript approach once
you get sizeable amount of Javascript code, both dev
On Mon, Mar 26, 2018 at 6:45 PM, Cezary Biernacki
wrote:
> @SetupRender
> public void configureWaitSeconds() {
> // See http://requirejs.org/docs/api.html#config-waitSeconds
> javaScriptSupport.addModuleConfigurationCallback((config) ->
> config.put("waitSeconds", 120));
>
requirejs/AMD is much improvement of other "plain" Javascript approach once
you get sizeable amount of Javascript code, both developers (dependencies
between modules are explicit, and private parts can stay private instead of
polluting global space name), and for users (HTML can be rendered before
Ric-01 [via Apache Tapestry Mailing List Archives]
Sent: mandag 26. mars 2018 23:07
To: Svein-Erik Løken
Subject: Re: Javacsript module problem
Hi Cezary,
first thanks. Yes, it was a mixture of all that, meanwhile I studied the
requirejs documentation strongly and checked out the tapestry5-jquery
p
Hi Cezary,
first thanks. Yes, it was a mixture of all that, meanwhile I studied the
requirejs documentation strongly and checked out the tapestry5-jquery
project, to learn from it.
And now a lot of things are already working!
A lot in requirejs and AMD semms to be magical and I prefer to do
Hi Erich,
One problem I can see is that function showLoadingIndicator() is not
exported from define(.., function() { ... }). You should add "return {
showLoadingIndicator: showLoadingIndicator };" at the end of "function() {
... }".
However I believe it will not solve a problem indicated by messa
Dear all,
From a java class I load a js module and try to invoke a method in it
using the following line:
javaScriptSupport.require("hotel/loadingIndicatorTrigger").invoke("showLoadingIndicator");
The script file loadingIndicatorTrigger.js is in
src/main/resources/META-INF/modules/hotel/load