RE: [Trinidad] Problems with skinning tables

2007-06-13 Thread MOLINA Stéphane
Hi All,

I just found the problem.

In fact, I did not use  in my jsf page.
The CSS files are compiled in the HeadRenderer which is a child of document.
This explains why cache/styles was empty.


Bye,

-- 
Stéphane Molina
 

-Message d'origine-
De : Petr Kotek [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 11 juin 2007 15:24
À : MyFaces Discussion
Objet : Re: [Trinidad] Problems with skinning tables

Hi,

its look OK.
Your directories "skins/myskin" must be under "public_html" dir.
Try delete content of "public_html/WEB-INF/temp/adf/styles/cache" dir and 
rebuild project.
Try delete browser cache and try refresh in browser by Ctrl+F5.

In Firefox with Web Developer toolbar You may look in CSS files and styles 
applied on components.

Hope some helps?

Peter





MOLINA Stéphane wrote:
> Hi,
>
> I have some problem using skins for skinning a table. I created all the files 
> for configuring a skin but it seemed to be not applied.
>
> Here is the content of my trinidad-skins.xml :
>
>   http://myfaces.apache.org/trinidad/skin";>
>   
>   myskin.desktop
>   myskin
>   
> org.apache.myfaces.trinidad.desktop
>   
> skins/myskin/my-skin.css
>   
>   
>
> and of my my-skin.css :
>
>   af|column::cell-text {
> color: red;
>   }
>
>   af|column::cell-text-band {
> color: green;
>   }
>
>   af|column::sortable-header-text {
> color: #FF;
> text-decoration: underline;
>   }
>
> Trinidad-config.xml contains :
>
>   http://myfaces.apache.org/trinidad/config";>
>
>   
>   true
>
>   myskin
>   
>   
>
>  
>
>  
>
> Best regards,
>
>  
>
> --
>
> Stéphane Molina
>
>
>   

-- 

Petr Kotek
CRC Data spol. s r.o.
U krčské vodárny 26 - vývojové pracoviště 140 00 Praha 4
tel: +420 241 442 464
fax: +420 241 442 645
GSM: +420 602 339 057
www.crcdata.cz 



RE: [Trinidad] Problems with skinning tables

2007-06-12 Thread MOLINA Stéphane
Hi,

In fact, I am executing trinidad loading step by step with eclipse, and It 
never executes "parseCSSDocument" methodes and so on ...

I am using trinidad in a Jboss+Seam project. When I look into styles/cache the 
css file generated by trinidad is not present (I looked into the styles/cache 
for trinidad-demos, it exists ...).
I think that trinidad does not find the css file, but I cannot explain why :/

I Just realized that I did not mention the version I use : 1.0.0-incubating.


Best regards,


-- 
Stéphane Molina


-Message d'origine-
De : Petr Kotek [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 11 juin 2007 15:24
À : MyFaces Discussion
Objet : Re: [Trinidad] Problems with skinning tables

Hi,

its look OK.
Your directories "skins/myskin" must be under "public_html" dir.
Try delete content of "public_html/WEB-INF/temp/adf/styles/cache" dir and 
rebuild project.
Try delete browser cache and try refresh in browser by Ctrl+F5.

In Firefox with Web Developer toolbar You may look in CSS files and styles 
applied on components.

Hope some helps?

Peter





MOLINA Stéphane wrote:
> Hi,
>
> I have some problem using skins for skinning a table. I created all the files 
> for configuring a skin but it seemed to be not applied.
>
> Here is the content of my trinidad-skins.xml :
>
>   http://myfaces.apache.org/trinidad/skin";>
>   
>   myskin.desktop
>   myskin
>   
> org.apache.myfaces.trinidad.desktop
>   
> skins/myskin/my-skin.css
>   
>   
>
> and of my my-skin.css :
>
>   af|column::cell-text {
> color: red;
>   }
>
>   af|column::cell-text-band {
> color: green;
>   }
>
>   af|column::sortable-header-text {
> color: #FF;
> text-decoration: underline;
>   }
>
> Trinidad-config.xml contains :
>
>   http://myfaces.apache.org/trinidad/config";>
>
>   
>   true
>
>   myskin
>   
>   
>
>  
>
>  
>
> Best regards,
>
>  
>
> --
>
> Stéphane Molina
>
>
>   

-- 

Petr Kotek
CRC Data spol. s r.o.
U krčské vodárny 26 - vývojové pracoviště 140 00 Praha 4
tel: +420 241 442 464
fax: +420 241 442 645
GSM: +420 602 339 057
www.crcdata.cz 



Re: [Trinidad] Problems with skinning tables

2007-06-11 Thread Petr Kotek

Hi,

its look OK.
Your directories "skins/myskin" must be under "public_html" dir.
Try delete content of "public_html/WEB-INF/temp/adf/styles/cache" dir 
and rebuild project.

Try delete browser cache and try refresh in browser by Ctrl+F5.

In Firefox with Web Developer toolbar You may look in CSS files and 
styles applied on components.


Hope some helps?

Peter





MOLINA Stéphane wrote:

Hi,

I have some problem using skins for skinning a table. I created all the files 
for configuring a skin but it seemed to be not applied.

Here is the content of my trinidad-skins.xml :

http://myfaces.apache.org/trinidad/skin";>

myskin.desktop
myskin

org.apache.myfaces.trinidad.desktop

skins/myskin/my-skin.css



and of my my-skin.css :

af|column::cell-text {
  color: red;
}

af|column::cell-text-band {
  color: green;
}

af|column::sortable-header-text {
  color: #FF;
  text-decoration: underline;
}

Trinidad-config.xml contains :

http://myfaces.apache.org/trinidad/config";>


true

myskin



 

 


Best regards,

 


--

Stéphane Molina


  


--

Petr Kotek
CRC Data spol. s r.o.
U krčské vodárny 26 - vývojové pracoviště
140 00 Praha 4
tel: +420 241 442 464
fax: +420 241 442 645
GSM: +420 602 339 057
www.crcdata.cz