You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Gunjan Garg <gu...@gmail.com> on 2008/07/29 09:14:03 UTC

Help Needed!

Hi All,

    I have been trying to do following things for quite some time.

    1.  I want a link to look different from others for that I read in the
skinning documentation that following will help me achieve it.

          <tr:commandLink styleClass="myCommandLink">

          /* style any commandLink components that have their styleClass
attribute set to 'myCommandLink' */
          af|commandLink.myCommandLink {color: red}.

    But I got no significant result. I am defining this styleClass in my own
skin.css file.

    Can you please tell me where exactly to define it?

      2. On what basis is the skin picked up for a particular page. How can
I make it different for different pages?? I also noticed that you mention in
trinidad-config.xml file that "<!-- you can use EL to get the skin. This
allows the skin to change between
       requests. -->"... But where is the value for that being set??

    3. How is skin-addition different from extending a skin??


    Would be really thankful if you could help me out with these. I have a
project to  submit and following things have obstructed my way for quite
some time now.


 Thanks & Regards,

 Gunjan Garg