Re: [t5.4-beta-10] Unable to locate asset, It should be located at META-INF/assets

2014-06-07 Thread Muhammad Gelbana
Is there a logical reason for that ? If there is, it will be easier for me to remember. *-* *Muhammad Gelbana* http://www.linkedin.com/in/mgelbana On Sun, Jun 8, 2014 at 4:08 AM, Geoff Callender < geoff.callender.jumpst...@gmail.com> wrote: > Not src/main/webapp/META-INF/ -

Re: Send StreamReposne in Page to File On Server

2014-06-07 Thread Geoff Callender
I'm confused. I would have the streamer use something else first to create or find the PDF, then it streams it. That "something" is the part that is common and could be shared, not the streamer. Am I off track? Cheers, Geoff On 8 Jun 2014, at 6:49 am, Net Dawg wrote: > Would like to reuse a

Re: [t5.4-beta-10] Unable to locate asset, It should be located at META-INF/assets

2014-06-07 Thread Geoff Callender
Not src/main/webapp/META-INF/ - use src/main/resources/META-INF/, eg. http://jumpstart.doublenegative.com.au/jumpstart7/examples/javascript/javascript They will end up in your WAR's /WEB-INF/classes/META-INF/. Cheers, Geoff On 8 Jun 2014, at 8:14 am, Muhammad Gelbana wrote: > That's

Re: [t5.4-beta-10] Unable to locate asset, It should be located at META-INF/assets

2014-06-07 Thread Muhammad Gelbana
That's how I included my JS and CSS files @Import(library = { "js/jquery-1.10.2.js", "js/bootstrap.min.js", "js/plugins/metisMenu/jquery.metisMenu.js", "js/plugins/morris/raphael-2.1.0.min.js", "js/plugins/morris/morris.js", "js/sb-admin.js", "js/demo/dashboard-demo.js" }, stylesheet = { "css/boo

[t5.4-beta-10] Unable to locate asset, It should be located at META-INF/assets

2014-06-07 Thread Muhammad Gelbana
Unable to locate ass ​​ et 'js/jquery-1.10.2.js' for component Index:layout. It should be located at META-IN ​​ F/assets/js/jquery-1.10.2.js ​ I've already placed this file in the specified location under the webapp folder (i.e. src/main/webapp) and put the mentioned files under *js* folder​. ​ Th

[t5.4-beta-10] How this Tapestry includes JS and CSS files

2014-06-07 Thread Muhammad Gelbana
I'm trying to apply a custom template that has it's own JS and CSS files, its using Bootstrap v3.1.0. Now I'm trying to include the template's CSS and JS files in the *Layout.java* file and I found this annotation: *@Import(module = "bootstrap/collapse")* How does this annotation work ? I under

Send StreamReposne in Page to File On Server

2014-06-07 Thread Net Dawg
Would like to reuse a page event handler function to render that specific response on server as a file.  Generally, how does one make an service wrapper to tapestry pages?  Specifically, how can tapestry application context be injected in stand-alone java program? Use-Case: There is a

Angular/TapestryJS

2014-06-07 Thread françois facon
Hello all, Here is a link to a AngularJs Page served by Tapestry5.3.7. http://tapestryangular-frafac.rhcloud.com/#/phones the related code is available at https://github.com/ffacon/tapestry5-angular-demo/tree/VO.1 Next use tapestry-resteasy to handle form submission, and http verb like delete et