Tapestry loads all the JavaScript in the background; libraries are loaded sequentially, modules will load in parallel. Your <script> is executing immediately, before any of this background loading has started.
On Fri, Jan 9, 2015 at 9:53 AM, nhhockeyplayer nashua < nhhockeypla...@hotmail.com> wrote: > Ok I see what you meant > > in my AppModule.java > > public static void contributeJavaScriptStackSource( > MappedConfiguration<String, JavaScriptStack> configuration) { > configuration.addInstance(CustomJavaScriptStack.STACK_ID, > CustomJavaScriptStack.class); > } > > } > > its at the bottom > and you also see it in the markup > > Well Im not sure, I got that alert dialog at the bottom of my layout.tml > keep setting off > > > <script> > if (typeof angular == 'undefined') > alert('angular did not load properly'); > </script> > > </body> > > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com @hlship