Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 26385 invoked from network); 15 Dec 2010 19:08:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Dec 2010 19:08:18 -0000 Received: (qmail 75068 invoked by uid 500); 15 Dec 2010 19:08:16 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 75009 invoked by uid 500); 15 Dec 2010 19:08:15 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 74996 invoked by uid 99); 15 Dec 2010 19:08:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 19:08:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of maiko.rocha@gmail.com designates 209.85.161.179 as permitted sender) Received: from [209.85.161.179] (HELO mail-gx0-f179.google.com) (209.85.161.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 19:08:07 +0000 Received: by gxk21 with SMTP id 21so1627194gxk.10 for ; Wed, 15 Dec 2010 11:07:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=MMc95hsKtsw6P7nf33s8CK3bseddxS5q/R3YiCW9SnY=; b=h5VqxW1rOFAaeVpMWWfl6hDFMM8nwJB68F/s5GPGVGp/RsEANgaXZq6wJg48/EDiNM ynPh425gi1xSgQY3HQyflQy3jRsRG3Z6UET/bvbCjkmNT2mn626VK+JtwZAeYhP5EzMQ kwMlihz7zGaupEMYUMs2pb3TVNag9xAiQc3MA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QXCRreigrIw9P2cRofziGjnUAfRmfFqnpa1w3FcNyYaERBYbFwO3RyJMtFlzxdkVT+ YxW3mMt3uUmErxpEAax4E79zKR53V9DoEYeZyCZ9TDutcsB/39Z2mI/FjZ2a0yjdGUYA MZTv6Kl9bo3KLOGaEh1E+7z8TdnCaI3ezsLBA= MIME-Version: 1.0 Received: by 10.90.49.20 with SMTP id w20mr8824264agw.181.1292440066609; Wed, 15 Dec 2010 11:07:46 -0800 (PST) Received: by 10.90.133.12 with HTTP; Wed, 15 Dec 2010 11:07:46 -0800 (PST) Date: Wed, 15 Dec 2010 17:07:46 -0200 Message-ID: Subject: -tr-rule-ref issues From: Maiko Rocha To: dev@myfaces.apache.org, users@myfaces.apache.org Content-Type: multipart/alternative; boundary=00163630f4a7105234049777a7ba X-Virus-Checked: Checked by ClamAV on apache.org --00163630f4a7105234049777a7ba Content-Type: text/plain; charset=ISO-8859-1 Hi all, I'm trying to use the -tr-rule-ref modifier but for some reason is not working for me. Here's the content of my skin CSS file: .spriteIcon:alias{ width:16px; height:16px; display:block; padding:0px; margin:0px; position:relative; top:0px; background-image:url(../../../img/sprite.png); background-repeat:no-repeat; background-color:transparent; } af|commandButton.favIcon::icon-style{ -tr-rule-ref:selector(".spriteIcon:alias"); background-position:0px 0px; } This is what I have (snippet) in my jspx file: And this is the generated HTML output: If I copy the contents of .spriteIcon:alias to af|commandButton.favIcon::icon-style everything works fine, but if I use the -tr-rule-ref modifier it doesn't, ie, the generated CSS doesn't have the rules referenced (HTML snippet is the same in both cases). Any clues? Thanks in advance! Maiko --00163630f4a7105234049777a7ba Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,

I'm trying to use the -tr-rule-ref modifier = but for some reason is not working for me. Here's the content of my ski= n CSS file:

.spriteIcon:alias{
width:16px;
heigh= t:16px;
= display:block;
padding:0px;
margi= n:0px;
= position:relative;
top:0px;
backg= round-image:url(../../../img/sprite.png);
background-repeat:no-repeat;
background= -color:transparent; =A0
}

af|commandButt= on.favIcon::icon-style{
=A0-tr-rule-ref:selector(".spriteIco= n:alias");
=A0=A0background-position:0px 0px; =A0 =A0
}

This is what I have (snippet) in my jspx file:
=A0=A0 <af:commandButton text=3D"commandButton 1" id=3D&quo= t;cb1"=A0styleClass=3D"favIcon" icon=3D"/img/n.gif"= ;/>

And this is the generated HTML output:
= <button id=3D"cb1" class=3D"p_AFHoverTarget favIcon af_co= mmandButton" onclick=3D"return false;"><img src=3D&quo= t;/CSS_Sprite_Sample-ViewController-context-root/img/n.gif" alt=3D&quo= t;" class=3D"af_commandButton_icon-style"><span title= =3D"" class=3D"af_commandButton_text-by-icon">comman= dButton 1</span></button>

If I copy the contents of .spriteIcon:alias to=A0af|com= mandButton.favIcon::icon-style everything works fine, but if I use the -tr-= rule-ref modifier it doesn't, ie, the generated CSS doesn't have th= e rules referenced (HTML snippet is the same in both cases). Any clues?

Thanks in advance!
Maiko

=

--00163630f4a7105234049777a7ba--