From adffaces-dev-return-1910-apmail-incubator-adffaces-dev-archive=incubator.apache.org@incubator.apache.org Thu Dec 28 17:31:36 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-dev-archive@locus.apache.org Received: (qmail 39358 invoked from network); 28 Dec 2006 17:31:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Dec 2006 17:31:35 -0000 Received: (qmail 69607 invoked by uid 500); 28 Dec 2006 17:31:42 -0000 Delivered-To: apmail-incubator-adffaces-dev-archive@incubator.apache.org Received: (qmail 69448 invoked by uid 500); 28 Dec 2006 17:31:42 -0000 Mailing-List: contact adffaces-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-dev@incubator.apache.org Delivered-To: mailing list adffaces-dev@incubator.apache.org Received: (qmail 69439 invoked by uid 99); 28 Dec 2006 17:31:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Dec 2006 09:31:41 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [148.87.113.118] (HELO rgminet01.oracle.com) (148.87.113.118) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Dec 2006 09:31:31 -0800 Received: from rgmgw3.us.oracle.com (rgmgw3.us.oracle.com [138.1.186.112]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id kBSHV9YK007753 for ; Thu, 28 Dec 2006 10:31:09 -0700 Received: from rcsmt251.oracle.com (rcsmt251.oracle.com [148.87.90.196]) by rgmgw3.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id kBSFKcsj006184 for ; Thu, 28 Dec 2006 10:31:09 -0700 Received: from jwaldman-pc.us.oracle.com by rcsmt250.oracle.com with ESMTP id 2322683021167326992; Thu, 28 Dec 2006 10:29:52 -0700 Message-ID: <4593FEFE.5030507@oracle.com> Date: Thu, 28 Dec 2006 09:29:34 -0800 From: Jeanne Waldman User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: adffaces-dev@incubator.apache.org Subject: Re: [Skinning Enhancement] -tr-icon-class or equivalent References: <4592E8D4.5070901@gmail.com> <459302D2.8040802@oracle.com> <6dac79b90612272140s3486bcd3n954d9c1f9308cecd@mail.gmail.com> In-Reply-To: <6dac79b90612272140s3486bcd3n954d9c1f9308cecd@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the comment. I'll fix that bug so the workaround works. :) - Jeanne Adam Winer wrote: > I think, for now, that I'm OK with just requiring inline specification > of the styles - that feels a lot more natural in a CSS file. > At least, as long as it works. :) > > -- Adam > > > > On 12/27/06, Jeanne Waldman wrote: > >> Hi there, >> >> I see the need to render >> >> when we render a skinning icon. >> >> However, there is currently not a way to specify a styleclass in the >> skin css file, although we do have a Java API to do this. >> >> We could do something like: >> >> af|foo::some-icon { >> content: url(/path/cat.gif); >> -tr-icon-class: someClass; >> } >> >> Let me know if you think I should/shouldn't open an JIRA enhancement for >> this. >> >> This isn't a critical bug, since the workaround is to use css properties >> inline, and we parse those up and render an inline style property >> like this: >> >> af|foo::some-icon { >> content: url(/path/cat.gif); >> background-color: blue; >> display: block; >> } >> renders: >> >> (or should... there's a bug that I filed that I plan to fix where it >> only renders the last css property.) >> >> Thanks, >> Jeanne >> >> >