You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by md10024 <md...@qwizics.com> on 2008/06/10 06:49:47 UTC
Trinidad skinning
Hi,
I'm running Trinidad 1.2.6 snapshot, facelets servlet 2.5, tomahawk, etc on
Tomcat 6 using Java 6.
Everything works fine on my WindowsXP development machine but when I deploy
it to Linux Centos production server I get this message
INFO | jvm 1 | 2008/06/09 23:40:36 | Jun 10, 2008 3:40:36 AM
org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache
_getStyleContextResolvedStyles
INFO | jvm 1 | 2008/06/09 23:40:36 | WARNING: No styles found in
context -
org.apache.myfaces.trinidadinternal.renderkit.core.StyleContextImpl@8a88a9
and my skinning extensions don't get picked up. I have a trinidad-skins.xml
file that contains this:
<skin-addition>
<skin-id>
minimal.desktop
</skin-id>
<style-sheet-name>
skins/purple/qw-addition.css
</style-sheet-name>
</skin-addition>
and my web directory contains ./skins/purple/qw-addition.css
The production page is rendered incorrectly because one of the skin
specifiers (qw-addition.css?) apparently just isn't found. I have tried
various work-arounds all to no avail. I have searched high and low and
don't see any mention of similar problems out there.
Does anyone have any ideas on this?
Mark
--
View this message in context: http://www.nabble.com/Trinidad-skinning-tp17747725p17747725.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: Trinidad skinning
Posted by md10024 <md...@qwizics.com>.
BTW,
removing the spaces, and condensing to a single line per element DID in fact
work. I needed to remove
the files in the tomcat work directory though in order for it to take
effect.
thanks!
md10024 wrote:
>
> Rats, another nice suggestion but that didn't help either
>
>
> Patrick Balm wrote:
>>
>>
>> I think I had the same thing myself a while back.
>>
>> try changing the xml to a single line per element:
>>
>> <skin-addition>
>> <skin-id>minimal.desktop</skin-id>
>>
>> <style-sheet-name>skins/purple/qw-addition.css</style-sheet-name>
>> </skin-addition>
>>
>> that worked for me.
>>
>> /patrick
>>
>
--
View this message in context: http://www.nabble.com/Trinidad-skinning-tp17747725p17878946.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: Trinidad skinning
Posted by md10024 <md...@qwizics.com>.
Rats, another nice suggestion but that didn't help either
Patrick Balm wrote:
>
>
> I think I had the same thing myself a while back.
>
> try changing the xml to a single line per element:
>
> <skin-addition>
> <skin-id>minimal.desktop</skin-id>
>
> <style-sheet-name>skins/purple/qw-addition.css</style-sheet-name>
> </skin-addition>
>
> that worked for me.
>
> /patrick
>
--
View this message in context: http://www.nabble.com/Trinidad-skinning-tp17747725p17770643.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: Trinidad skinning
Posted by md10024 <md...@qwizics.com>.
A good suggestion, and for a few minutes I was hopeful that it could be that
simple, but it doesn't seem to be the problem.
md10024 wrote:
>
> Hi,
>
> I'm running Trinidad 1.2.6 snapshot, facelets servlet 2.5, tomahawk, etc
> on Tomcat 6 using Java 6.
>
> Everything works fine on my WindowsXP development machine but when I
> deploy it to Linux Centos production server I get this message
>
> INFO | jvm 1 | 2008/06/09 23:40:36 | Jun 10, 2008 3:40:36 AM
> org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache
> _getStyleContextResolvedStyles
> INFO | jvm 1 | 2008/06/09 23:40:36 | WARNING: No styles found in
> context -
> org.apache.myfaces.trinidadinternal.renderkit.core.StyleContextImpl@8a88a9
>
> and my skinning extensions don't get picked up. I have a
> trinidad-skins.xml file that contains this:
> <skin-addition>
> <skin-id>
> minimal.desktop
> </skin-id>
> <style-sheet-name>
> skins/purple/qw-addition.css
> </style-sheet-name>
> </skin-addition>
>
> and my web directory contains ./skins/purple/qw-addition.css
>
>
> The production page is rendered incorrectly because one of the skin
> specifiers (qw-addition.css?) apparently just isn't found. I have tried
> various work-arounds all to no avail. I have searched high and low and
> don't see any mention of similar problems out there.
>
> Does anyone have any ideas on this?
>
> Mark
>
>
>
--
View this message in context: http://www.nabble.com/Trinidad-skinning-tp17747725p17748808.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: Trinidad skinning
Posted by Scott O'Bryan <da...@gmail.com>.
Could it be a case sensitivity issue?
On Jun 9, 2008, at 10:49 PM, md10024 <md...@qwizics.com> wrote:
>
> Hi,
>
> I'm running Trinidad 1.2.6 snapshot, facelets servlet 2.5, tomahawk,
> etc on
> Tomcat 6 using Java 6.
>
> Everything works fine on my WindowsXP development machine but when I
> deploy
> it to Linux Centos production server I get this message
>
> INFO | jvm 1 | 2008/06/09 23:40:36 | Jun 10, 2008 3:40:36 AM
> org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache
> _getStyleContextResolvedStyles
> INFO | jvm 1 | 2008/06/09 23:40:36 | WARNING: No styles found in
> context -
> org.
> apache.myfaces.trinidadinternal.renderkit.core.StyleContextImpl@8a88a9
>
> and my skinning extensions don't get picked up. I have a trinidad-
> skins.xml
> file that contains this:
> <skin-addition>
> <skin-id>
> minimal.desktop
> </skin-id>
> <style-sheet-name>
> skins/purple/qw-addition.css
> </style-sheet-name>
> </skin-addition>
>
> and my web directory contains ./skins/purple/qw-addition.css
>
>
> The production page is rendered incorrectly because one of the skin
> specifiers (qw-addition.css?) apparently just isn't found. I have
> tried
> various work-arounds all to no avail. I have searched high and low
> and
> don't see any mention of similar problems out there.
>
> Does anyone have any ideas on this?
>
> Mark
>
>
> --
> View this message in context: http://www.nabble.com/Trinidad-skinning-tp17747725p17747725.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>