myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Döring Markus <Markus.Doer...@tcc-products.de>
Subject AW: [Trinidad] skining showDetails component
Date Fri, 18 Apr 2008 10:29:01 GMT
Hi,
thanks for help, I've looked at the link and found out that I've still used the old property
name for DISPABLE_CONTENT_COMPRESSION in web.xml, changing this helps a lot ;)

Finally I've separated the <tr:showDetail> into <tr:showDetailHeader> and <tr:showDetailItem>,
managed the disclousure action, and with this the skinning works fine.

With best regards,
Markus Döring


-----Ursprüngliche Nachricht-----
Von: Jeanne Waldman [mailto:jeanne.waldman@oracle.com] 
Gesendet: Donnerstag, 17. April 2008 23:47
An: MyFaces Discussion
Betreff: Re: [Trinidad] skining showDetails component

Yes, I highly recommend using Firebug's css inspector to help you with 
skinning.

Here are some tips and tricks that might help:

http://myfaces.apache.org/trinidad/devguide/skinning.html#Tips_and_Tricks

cristi.toth@gmail.com wrote, On 4/11/2008 2:02 AM PT:
> don't forget to add  !important to your css properties
> use firebug to see if your css properties are not overriden by the
> default OraLink class
>
>
> af|showDetail::prompt-disclosed .OraLink:link {
>  color:#FF0000 !important;
>  background-color:#FF0000 !important;
> }
>
> On 4/11/08, Döring Markus <Markus.Doering@tcc-products.de> wrote:
>   
>> Hi,
>>
>> thanks for help so far, this is what I have in my skins.css now:
>>
>>
>>
>> af|showDetail::prompt-disclosed .OraLink:active { color:#FF0000;
>> background-color:#FF0000;}
>>
>> af|showDetail::prompt-disclosed .OraLink:link { color:#FF0000;
>> background-color:#FF0000;}
>>
>> af|showDetail::prompt-disclosed .OraLink:hover { color:#FF0000;
>> background-color:#FF0000;}
>>
>> af|showDetail::prompt-undisclosed .OraLink:active { color:#FF0000;
>> background-color:#FF0000;}
>>
>> af|showDetail::prompt-undisclosed .OraLink:link { color:#FF0000;
>> background-color:#FF0000;}
>>
>> af|showDetail::prompt-undisclosed .OraLink:hover { color:#FF0000;
>> background-color:#FF0000;}
>>
>>
>>
>> but nothing happens at all.
>>
>> I choose red to definitely see if something changes and seprerated it to
>> test what happens if I only use one of these selectors, but whatever I do I
>> see no changes on the showDetail at all.
>>
>>
>>
>> With best regards
>>
>> Markus Döring
>>
>> TCC Products GmbH
>>
>>
>>
>> Von: Cristi Toth [mailto:cristi.toth@gmail.com]
>> Gesendet: Donnerstag, 10. April 2008 18:15
>> An: MyFaces Discussion
>> Betreff: Re: [Trinidad] skining showDetails component
>>
>>
>>
>> Hi,
>>
>> Skinning the link itself is quite nasty, because all the links in trinidad
>> also have the OraLink styleClass
>> that's because you can't use :link :active :hover pseudo-classes on
>> skin-selectors
>>
>> so what you could do is something like this:
>> af|showDetail::prompt-disclosed .OraLink:link,
>> af|showDetail::prompt-undisclosed .OraLink:link {
>> .. properties
>> }
>>
>> and try add !important on the css properties you put in the selector
>> do so also for :active, :hover, ... if you need it
>>
>> regards,
>>
>> On Thu, Apr 10, 2008 at 4:35 PM, Döring Markus
>> <Markus.Doering@tcc-products.de> wrote:
>>
>> Hi all,
>>
>> I'm trying to skin the link of the showDetails component (change the color
>> of the link and the font size)
>>
>> I've managed to change the color by skinning .AFLinkForeground:alias but I
>> don't want to change every link.
>>
>> af|showDetail:: prompt-link is not working for me at all.
>>
>> Can someone please give me the correct skinSelector for showDetails?`
>>
>>
>>
>> Thanks
>>
>> Greetings
>>
>>
>>
>> Markus Döring
>>
>> TCC Products GmbH
>>
>>
>>
>>
>> --
>> Cristi Toth
>>
>> -------------
>> Codebeat
>> www.codebeat.ro
>>
>>
>>     
>
>
>   

Mime
View raw message