On 24 Feb 2015, at 9:59 am, Poggenpohl, Daniel <daniel.poggenp...@isst.fraunhofer.de> wrote:
> Hello, > > the Jumpstart tutorial says "They reside in resources/META-INF/modules." > > Is it src/main/resources/META-INF/modules ? > If you go to any of the examples and search for "sourcecodetab" you'll see the answer. > Regards, > Daniel P. > ________________________________________ > Von: Geoff Callender [geoff.callender.jumpst...@gmail.com] > Gesendet: Montag, 23. Februar 2015 22:13 > An: Tapestry users > Betreff: Re: Tapestry 5.4 JavaScript support .... support request > > On 24 Feb 2015, at 5:38 am, Poggenpohl, Daniel > <daniel.poggenp...@isst.fraunhofer.de> wrote: > >> Hello everyone, >> >> I'm trying to add some functionality to a grid: >> >> Every grid row should be an area where you can click to go to the details >> page of the row object. >> >> But enough of that, even a simple javascript like alert on click doesn't >> seem to work. >> >> The js is added via jss.addScript(), which is deprecated in 5.4 . Doing it >> this way doesn't seem to work. What happens is I apply the script via a >> @MixinAfter mixin in an afterRender-method and the page containing the grid >> displays the loading spinner....for eternity. >> >> The javadoc says I should use modules and RequireJS. Is there an existing >> example how to do this? > > Some examples: > > > http://jumpstart.doublenegative.com.au/jumpstart7/examples/javascript/javascript > > http://jumpstart.doublenegative.com.au/jumpstart7/examples/javascript/reusable > > http://jumpstart.doublenegative.com.au/jumpstart7/examples/javascript/robust > > http://jumpstart.doublenegative.com.au/jumpstart7/examples/javascript/mixin > > HTH, > > Geoff > >> >> The project uses jquery as the provider. >> >> Regards, >> Daniel Poggenpohl > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org