You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andy Huhn <am...@hslt-online.com> on 2008/08/12 12:17:24 UTC

[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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T5]: Change in asset location?

Posted by "Filip S. Adamsen" <fs...@fsadev.com>.
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: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T5]: Change in asset location?

Posted by Howard Lewis Ship <hl...@gmail.com>.
When these things crop up, I always start by listing the contents of
the WAR (or exploded WAR directory).

On Tue, Aug 12, 2008 at 5:00 AM, Andy Huhn <am...@hrtc.net> wrote:
>
> Thanks, Filip & Sven.  I'll start digging around in Jetty.
>
> Thanks,
> Andy
>
> On Tue, 12 Aug 2008 12:43:21 +0200, "Sven Homburg"
> <ho...@googlemail.com> 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 <am...@hslt-online.com>
>>
>>> 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: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>>
>>
>> --
>> with regards
>> Sven Homburg
>> http://www.chenillekit.org
>> http://tapestry5-components.googlecode.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T5]: Change in asset location?

Posted by Andy Huhn <am...@hrtc.net>.
Thanks, Filip & Sven.  I'll start digging around in Jetty.

Thanks,
Andy

On Tue, 12 Aug 2008 12:43:21 +0200, "Sven Homburg"
<ho...@googlemail.com> 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 <am...@hslt-online.com>
> 
>> 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: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
> 
> 
> --
> with regards
> Sven Homburg
> http://www.chenillekit.org
> http://tapestry5-components.googlecode.com



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T5]: Change in asset location?

Posted by Sven Homburg <ho...@googlemail.com>.
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 <am...@hslt-online.com>

> 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: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
with regards
Sven Homburg
http://www.chenillekit.org
http://tapestry5-components.googlecode.com