Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 76189 invoked from network); 9 Aug 2007 14:46:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Aug 2007 14:46:52 -0000 Received: (qmail 41366 invoked by uid 500); 9 Aug 2007 14:46:46 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 41327 invoked by uid 500); 9 Aug 2007 14:46:46 -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 41315 invoked by uid 99); 9 Aug 2007 14:46:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2007 07:46:46 -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 (athena.apache.org: domain of simon.lessard.3@gmail.com designates 209.85.198.189 as permitted sender) Received: from [209.85.198.189] (HELO rv-out-0910.google.com) (209.85.198.189) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2007 14:46:42 +0000 Received: by rv-out-0910.google.com with SMTP id c27so385262rvf for ; Thu, 09 Aug 2007 07:46:22 -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=S9tZG4CbCKNj/A+eOgXvORSRRdQ9XRutNya2R3oncIaIjYr6iPNFVp6059lcJ6lUSy8UQTxiU6mSSaG6gxfoV7HZl+A4T9a5ztdaFQpAwPEDzNfzTC6kLEaTN/eh5VF1pFtCOapWow9M9dCmC3ybcanU2c+FGbs8DchIWWIwWZw= 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=HS79i+gU1SIGEuv8tpozq3pjeOZQnANfFsN9YmH7y6AkcOumYMedmUCvztgCcbXEAhhQVPd/ZLnvZ4j3VNXxk/cCZ9sVynMtTKCbqWTchPmBk+Tjl2fU6/SrdhAh0GEtRUzSSgewwrU9PzZPA/DTG32LGDV1M3gFRW/Wde+2dgc= Received: by 10.114.66.2 with SMTP id o2mr1406904waa.1186670782133; Thu, 09 Aug 2007 07:46:22 -0700 (PDT) Received: by 10.114.151.14 with HTTP; Thu, 9 Aug 2007 07:46:22 -0700 (PDT) Message-ID: <254acf980708090746gc2a1d2ah40a15b9ef3a60392@mail.gmail.com> Date: Thu, 9 Aug 2007 10:46:22 -0400 From: "Simon Lessard" To: "MyFaces Discussion" Subject: Re: How to skin inputDate icon? In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_147810_659477.1186670782090" References: <12390.68569.qm@web25502.mail.ukl.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_147810_659477.1186670782090 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello Sandeep, Yeah, we support both for backward compatibility but, if my memory serve me well, af|inputDate has priority over selectInputDate and is actually faster (saves an =3D=3D null condition as well as a Map.get()... ok that's not so = much faster, but still !!!) Regards, ~ Simon On 8/9/07, sandeep gururaj wrote: > > I am using tr:inputDate and I use the following in my skin file. > > af|selectInputDate::launch-icon { > > content:url(/iAdvisorWeb/bundles/ic/skins/FND/images/datepicker.g= if); > vertical-align:top; > } > > ~Sandeep > ________________________________________ > From: Angel Miralles Arevalo [mailto:anmiralles@yahoo.es] > Sent: Thursday, August 09, 2007 7:57 PM > To: MyFaces Discussion > Subject: Re: How to skin inputDate icon? > > I don't Know which component you are using but try with: > > monthYearRowClass=3D"yearMonthHeader" > weekRowClass=3D"weekHeader" > currentDayCellClass=3D"currentDayCell" > value=3D"#{automaticImpactByPkBean.initialDate}" > renderAsPopup=3D"true" > renderPopupButtonAsImage=3D"true" > popupTodayString=3D"#{msg.fecha_hoy}" > popupDateFormat=3D"dd/MM/yyyy" > forceId=3D"true" > popupButtonImageUrl=3D"/imagenes/calendario.png" > onchange=3D"submit(this);"/> > > > It has the attribute "popupButtonImageUrl" to load an image... > > > ----- Mensaje original ---- > De: Chris Hane > Para: users@myfaces.apache.org > Enviado: jueves, 9 de agosto, 2007 16:01:05 > Asunto: How to skin inputDate icon? > How can I skin the inputDate launch icon? > > I have tried variations of this: > > af|inputDate:launch-icon { > content:url(../ires/chris/images/dfb.gif); > } > > When I use firebug it shows the icon being generated from: > > adf/images/dfb.gif > > and not my icon defined in the skin file. > > > Is there anything obviously wrong with what I'm doing? > > Thanks, > Chris.... > > > ________________________________________ > > S=E9 un Mejor Amante del Cine > =BFQuieres saber c=F3mo? =A1Deja que otras personas te ayuden! . > ------=_Part_147810_659477.1186670782090 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello Sandeep,

Yeah, we support both for backward compatibility but,= if my memory serve me well, af|inputDate has priority over selectInputDate= and is actually faster (saves an =3D=3D null condition as well as a Map.get()... ok that's not so much faster, bu= t still !!!)


Regards,

~ Simon

On 8/9/07, sandeep gururaj <sandeep.gururaj@chordiant.com>= ; wrote:
I am using tr:inputDate and I use the following in my skin file.

af|= selectInputDate::launch-icon {
       = ; content:url(/iAdvisorWeb/bundles/ic/skins/FND/images/datepicker.gif)= ;
        vertical-align:top; }

~Sandeep
________________________________________
From: Ange= l Miralles Arevalo [mailto:anmiralle= s@yahoo.es]
Sent: Thursday, August 09, 2007 7:57 PM
To: MyFaces D= iscussion
Subject: Re: How to skin inputDate icon?

I don't Know which = component you are using but try with:

<t:inputCalendar id=3D"= ;initialDate" styleClass=3D"porcen90"
  monthYe= arRowClass=3D"yearMonthHeader"
  weekRowClass=3D"weekHeader"
  curren= tDayCellClass=3D"currentDayCell"
  value=3D"#{a= utomaticImpactByPkBean.initialDate}"
  renderAsPopup=3D&q= uot;true"
  renderPopupButtonAsImage=3D"true"
  popupTodayString=3D"#{msg.fecha_hoy}"
 &n= bsp;popupDateFormat=3D"dd/MM/yyyy"
  forceId=3D"= ;true"
  popupButtonImageUrl=3D"/imagenes/calendario= .png"
  onchange=3D"submit(this);"/>


It has the attribute "popupButtonImageUrl" to load an= image...


----- Mensaje original ----
De: Chris Hane <chrishane@gmail.com>
Para: users@myfaces.apache.org
Enviado: jueves, 9 de agosto, 2007 16:01:05=
Asunto: How to skin inputDate icon?
How can I skin the inputDate lau= nch icon?

I have tried variations of this:

af|inputDate:launc= h-icon {
content:url(../ires/chris/images/dfb.gif);
}

When I use fireb= ug it shows the icon being generated from:

adf/images/dfb.gif
and not my icon defined in the skin file.


Is there anything obv= iously wrong with what I'm doing?

Thanks,
Chris....


___________________________________= _____

S=E9 un Mejor Amante del Cine
=BFQuieres saber c=F3mo? =A1D= eja que otras personas te ayuden! .

------=_Part_147810_659477.1186670782090--