Re: How to use font awesome with Tapestry

2014-12-19 Thread George Christman
finally got it, thanks guys. On Fri, Dec 19, 2014 at 6:51 AM, Cezary Biernacki wrote: > > Hi George, > I believe you use exactly string > "classpath:META-INF/assets/fonts/fontawesome-webfont.eot" > in Java code. You should use "fonts/fontawesome-webfont.eot" instead - > Tapestry 5.4 knows that it

Re: How to use font awesome with Tapestry

2014-12-19 Thread Cezary Biernacki
Hi George, I believe you use exactly string "classpath:META-INF/assets/fonts/fontawesome-webfont.eot" in Java code. You should use "fonts/fontawesome-webfont.eot" instead - Tapestry 5.4 knows that it needs to prepend "META-INF/assets". However, as others said, for Font Awesome you need rather impo

Re: How to use font awesome with Tapestry

2014-12-19 Thread Geoff Callender
I have a folder "font-awesome-4.0.3" in resources/META-INF/assets/ and use this in my java pages and components: @Import(stylesheet = { "font-awesome-4.0.3/css/font-awesome.min.css" }) Geoff On 19 Dec 2014, at 7:58 pm, George Christman wrote: > hmm, I'm using 5.4. We no longer have assets in

Re: How to use font awesome with Tapestry

2014-12-19 Thread George Christman
hmm, I'm using 5.4. We no longer have assets in the webapp directory. I wonder if that makes a difference. On Fri, Dec 19, 2014 at 3:01 AM, Daniel Jue wrote: > > Forgot to mention, I am using T5.3.7 > > On Fri, Dec 19, 2014 at 2:59 AM, Daniel Jue wrote: > > > > Hi George, I'm not really sure wha

Re: How to use font awesome with Tapestry

2014-12-19 Thread Daniel Jue
Forgot to mention, I am using T5.3.7 On Fri, Dec 19, 2014 at 2:59 AM, Daniel Jue wrote: > > Hi George, I'm not really sure what the .eot file does. > > My assets are under src/main/webapp in my maven module: > > i.e. > > https://github.com/Sotera/graphene/tree/master/graphene-parent/graphene-web/

Re: How to use font awesome with Tapestry

2014-12-19 Thread Daniel Jue
Hi George, I'm not really sure what the .eot file does. My assets are under src/main/webapp in my maven module: i.e. https://github.com/Sotera/graphene/tree/master/graphene-parent/graphene-web/src/main/webapp/core/fonts https://github.com/Sotera/graphene/tree/master/graphene-parent/graphene-web/s

Re: How to use font awesome with Tapestry

2014-12-18 Thread George Christman
Hi Daniel, how do you have your assets setup? I added font-awesome-min.css to my META-INF/assets/css I'm then importing it. @Import(stylesheet = {"css/font-awesome.min.css"} I added a directory called fonts to assets like so META-INF/assets/fonts/.. all the font files example fontawesome-webfon

Re: How to use font awesome with Tapestry

2014-12-18 Thread Daniel Jue
Just to be sure, are you seeing the file correctly in the deployment directory of your application container? I am using fontawesome as well in my T5 app, and, well, it's awesome! Never ran into issues with that file though. Dan On Fri, Dec 19, 2014 at 12:52 AM, George Christman wrote: > > Hi g

How to use font awesome with Tapestry

2014-12-18 Thread George Christman
Hi guys, I'm trying to use font-awesome with tapestry. I'm getting the following error, Unable to locate asset 'classpath:META-INF/assets/fonts/fontawesome-webfont.eot' (the file does not exist). I have placed the fonts in the fonts directory within assets, any thoughts on how to get this to work