Hi Dan, I'm not sure what the selectors for that component are off-hand but one handy procedure I can share with you (what I frequently use to make sure I am skinning things correctly) is to *temporarily* add the following (unsupported) entry in my web.xml file:
<context-param> <param-name>org.apache.myfaces.trinidadinternal.DISABLE_CONTENT_COMPRESSION </param-name> <param-value>true</param-value> </context-param> Then, I run my page using Firefox and the Firebug DOM inspector add-on: https://addons.mozilla.org/en-US/firefox/addon/1843 (or use whatever your favorite DOM inspector tool/browser combo is) and then inspect the DOM tree to see what the assigned "class" attributes are. So in your case, look for the element that contains the start side of the tab. It may show a class value of "af_navigationPaneTabs_top-start" or something similar to that. Once you know what that is, you can generally deduce the skin selector from it, e.g. "af|navigationPaneTabs::top-start". With that "disable" entry in your web.xml, you'll see the class values that make sense to you, otherwise they'd show up as "x12" or something obfuscated like that. Really, the main issue here sounds like the docs for this component are not accurate and need correcting. Feel free to log a JIRA issue for this at: http://issues.apache.org/jira/browse/TRINIDAD Hope this helps, Matt On 6/11/07, Hannum, Daniel <[EMAIL PROTECTED]> wrote:
Hi, I'm migrating from ADF, where I had a selector like this af|menuTabs::selected-start-icon { content:url(/skins/common/images/tab_on_left.gif); width:11px; height:27px ; } After switching to Trinidad, as far as I can tell, all of my other ADF selectors survived the trip, but all of my menuTabs ones like that one above don't make it into the generated CSS. Instead, Trinidad is using the default style, apparently .x40 .x46 { BACKGROUND-IMAGE: url(../../images/tab3-end-join-deselected-to-deselected.gif) } Now, I found what I thought was the latest documentation on the selectors, and it says that my selector should be ok. http://myfaces.apache.org/trinidad/skin-selectors.html However, I do realize that menuTabs has gone away in favor of navigationPane, so maybe that's the problem. Am I doing something wrong? Thanks. Dan ------------------------------ * ***Note:The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the Sender immediately by replying to the message and deleting it from your computer. Thank you. Premier Inc. *