[T5]: Change in asset location?
Hello, I just switched to 5.0.14, and now my app can't seem to find my CSS file. Any ideas? Here is the .tml I've been using: link rel=stylesheet type=text/css href=${henStyleSheet} media=all/ Here is the corresponding .java: @Inject @Path(context:assets/styles/hen_styles.css) private Asset _henStyleSheet; And here is the location of my .css file: src/main/webapp/assets/styles/hen_styles.css Is there a configuration parameter I need to tweak? Thanks, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5]: Change in asset location?
Hi, Looks okay to me. Nothing broke when I updated from 5.0.13 to 5.0.14, so perhaps it's an issue not related to Tapestry? -Filip Andy Huhn skrev: Hello, I just switched to 5.0.14, and now my app can't seem to find my CSS file. Any ideas? Here is the .tml I've been using: link rel=stylesheet type=text/css href=${henStyleSheet} media=all/ Here is the corresponding .java: @Inject @Path(context:assets/styles/hen_styles.css) private Asset _henStyleSheet; And here is the location of my .css file: src/main/webapp/assets/styles/hen_styles.css Is there a configuration parameter I need to tweak? Thanks, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5]: Change in asset location?
its look like taht you IDE dont move the resources in your war file or servlet container directory at compile time 2008/8/12 Andy Huhn [EMAIL PROTECTED] Hello, I just switched to 5.0.14, and now my app can't seem to find my CSS file. Any ideas? Here is the .tml I've been using: link rel=stylesheet type=text/css href=${henStyleSheet} media=all/ Here is the corresponding .java: @Inject @Path(context:assets/styles/hen_styles.css) private Asset _henStyleSheet; And here is the location of my .css file: src/main/webapp/assets/styles/hen_styles.css Is there a configuration parameter I need to tweak? Thanks, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- with regards Sven Homburg http://www.chenillekit.org http://tapestry5-components.googlecode.com
Re: [T5]: Change in asset location?
Thanks, Filip Sven. I'll start digging around in Jetty. Thanks, Andy On Tue, 12 Aug 2008 12:43:21 +0200, Sven Homburg [EMAIL PROTECTED] wrote: its look like taht you IDE dont move the resources in your war file or servlet container directory at compile time 2008/8/12 Andy Huhn [EMAIL PROTECTED] Hello, I just switched to 5.0.14, and now my app can't seem to find my CSS file. Any ideas? Here is the .tml I've been using: link rel=stylesheet type=text/css href=${henStyleSheet} media=all/ Here is the corresponding .java: @Inject @Path(context:assets/styles/hen_styles.css) private Asset _henStyleSheet; And here is the location of my .css file: src/main/webapp/assets/styles/hen_styles.css Is there a configuration parameter I need to tweak? Thanks, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- with regards Sven Homburg http://www.chenillekit.org http://tapestry5-components.googlecode.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Asset Location
Hi Manie! I have my styles under /styles directory, i.e. not under WEB-INF, and images under /images. Then I have my assets specified like this: asset name=stylesheet path=styles/style.css/ asset name=logo path=/images/logo.gif/ (don't know why I have the preceding slash in /images but not in styles but both works) /Malin 2007/6/24, Manie [EMAIL PROTECTED]: Hi, Is there a way to specify an alternative location for assets, as is the case with the html templates. At the moment, all my html templates reside under WEB-INF, and I would like to add my assets under WEB-INF/assets/images/... and WEB-INF/assets/css, etc. Thanks in advance Manie -- View this message in context: http://www.nabble.com/Asset-Location-tf3973227.html#a11278096 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Asset Location
Hi, Is there a way to specify an alternative location for assets, as is the case with the html templates. At the moment, all my html templates reside under WEB-INF, and I would like to add my assets under WEB-INF/assets/images/... and WEB-INF/assets/css, etc. Thanks in advance Manie -- View this message in context: http://www.nabble.com/Asset-Location-tf3973227.html#a11278096 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]