Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 74179 invoked from network); 12 Jun 2007 15:02:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jun 2007 15:02:57 -0000 Received: (qmail 57926 invoked by uid 500); 12 Jun 2007 15:02:53 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 57704 invoked by uid 500); 12 Jun 2007 15:02:52 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 57693 invoked by uid 99); 12 Jun 2007 15:02:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2007 08:02:52 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of matt.faces@gmail.com designates 66.249.92.175 as permitted sender) Received: from [66.249.92.175] (HELO ug-out-1314.google.com) (66.249.92.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2007 08:02:47 -0700 Received: by ug-out-1314.google.com with SMTP id z34so205346ugc for ; Tue, 12 Jun 2007 08:02:25 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=YagfNFtw3Wn5LoS+YMULTx79d7Lm4zweUTGJC+fQg86b6i2kIIzbatG7PIfvjQGCsl7vs/EFAgHOfpfVIVQ/4mcLe13z+ja3J0okcyOMCggMrL0y4f8HaOPkVaRoKZrCtIsSp2C3CMI63n8gr86ygLb57kIDSHjEcrQVLWH1v9Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=EzUf4b4jMCmKJgqSmXmuN617Rv71IWctMM68Cf1fopnyRC7NIcXnMK2xbiDsBYPeMqFQFe1LNycERx3RIbbDYdx9tKzf+JCFtB45nw1oCri5Y6FRY/X4EcLytRaOjiP5oc085QMWRyflNy1uYmDQIHyJsh9tA5WDJUQ5jiDPE3M= Received: by 10.78.186.9 with SMTP id j9mr2722116huf.1181660544933; Tue, 12 Jun 2007 08:02:24 -0700 (PDT) Received: by 10.78.201.3 with HTTP; Tue, 12 Jun 2007 08:02:24 -0700 (PDT) Message-ID: Date: Tue, 12 Jun 2007 09:02:24 -0600 From: "Matt Cooper" To: "MyFaces Discussion" Subject: Re: Trinidad seems to be ignoring my old menuTabs styling In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4203_18138673.1181660544902" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4203_18138673.1181660544902 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Dan, I believe the Trinidad implementation of tabs use "background-image: url('path/to/image.png');" styles to create its appearance rather than icons. Doing a search on Google, I found this email thread containing navigationPane styles, the tabs-inactive part looks like there is more too it, e.g. "af|navigationPane::tabs-inactive af|navigationPane::tabs-start { ... }": http://mail-archives.apache.org/mod_mbox/incubator-adffaces-user/200610.mbox/%3C20061012062315.87E5F1F3A0F@mail-in-07.arcor-online.net%3E Correct, I do not see any skinning documentation for navigationPane on this page: http://myfaces.apache.org/trinidad/skin-selectors.html Regards, Matt On 6/12/07, Hannum, Daniel wrote: > > Thanks, that's a very useful option, but I still can't figure it out. For example one class in the generated HTML is af_navigationPane_tabs-inactive > > > > And when I use Firefox to edit the CSS, I can style that correctly, but > when I put > > > > af|navigationPane::tabs-inactive { ... } > > > > in my css file, it doesn't seem to achnowledge it (even after clearing the > cache and all that). > > > > Plus there are other questions. ADF had separate selectors for icons and > links, but the generated HTML doesn't seem to have that, just for one > example. > > > > Is there really NO documentation at all for this? ADF at least had > adf-skins-doc.xml that I used. I will file a JIRA, as you say, if that's > the way it is. > > > > Thanks > > Dan > > > ------------------------------ > > *From:* Matt Cooper [mailto:matt.faces@gmail.com] > *Sent:* Monday, June 11, 2007 6:19 PM > *To:* MyFaces Discussion > *Subject:* Re: Trinidad seems to be ignoring my old menuTabs styling > > > > 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: > > > > org.apache.myfaces.trinidadinternal.DISABLE_CONTENT_COMPRESSION > > true > > > 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* 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. * > > > > ------------------------------ > > * ***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. * > ------=_Part_4203_18138673.1181660544902 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Dan,

I believe the Trinidad implementation of tabs use "background-image: url('path/to/image.png');" styles to create its appearance rather than icons.

Doing a search on Google, I found this email thread containing navigationPane styles, the tabs-inactive part looks like there is more too it, e.g. "af|navigationPane::tabs-inactive af|navigationPane::tabs-start { ... }":
http://mail-archives.apache.org/mod_mbox/incubator-adffaces-user/200610.mbox/%3C20061012062315.87E5F1F3A0F@mail-in-07.arcor-online.net%3E

Correct, I do not see any skinning documentation for navigationPane on this page:
http://myfaces.apache.org/trinidad/skin-selectors.html

Regards,
Matt

On 6/12/07, Hannum, Daniel <Daniel_Hannum@premierinc.com> wrote:
Thanks, that's a very useful option, but I still can't figure it out. For example one class in the generated HTML is 
af_navigationPane_tabs-inactive

 

And when I use Firefox to edit the CSS, I can style that correctly, but when I put

 

af|navigationPane::tabs-inactive { ... }

 

in my css file, it doesn't seem to achnowledge it (even after clearing the cache and all that).

 

Plus there are other questions. ADF had separate selectors for icons and links, but the generated HTML doesn't seem to have that, just for one example.

 

Is there really NO documentation at all for this? ADF at least had adf-skins-doc.xml that I used. I will file a JIRA, as you say, if that's the way it is.

 

Thanks

Dan

 


From: Matt Cooper [mailto:matt.faces@gmail.com]
Sent: Monday, June 11, 2007 6:19 PM
To: MyFaces Discussion
Subject: Re: Trinidad seems to be ignoring my old menuTabs styling

 

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 <Daniel_Hannum@premierinc.com> 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.

 


***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.


------=_Part_4203_18138673.1181660544902--