Thanks Simon for this information.
~Sandeep
________________________________________
From: Simon Lessard [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 09, 2007 8:16 PM
To: MyFaces Discussion
Subject: Re: How to skin inputDate icon?
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 == 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 <[EMAIL PROTECTED]> 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: Angel Miralles Arevalo [mailto:[EMAIL PROTECTED]
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:
<t:inputCalendar id="initialDate" styleClass="porcen90"
monthYearRowClass="yearMonthHeader"
weekRowClass="weekHeader"
currentDayCellClass="currentDayCell"
value="#{automaticImpactByPkBean.initialDate}"
renderAsPopup="true"
renderPopupButtonAsImage="true"
popupTodayString="#{msg.fecha_hoy}"
popupDateFormat="dd/MM/yyyy"
forceId="true"
popupButtonImageUrl="/imagenes/calendario.png"
onchange="submit(this);"/>
It has the attribute "popupButtonImageUrl" to load an image...
----- Mensaje original ----
De: Chris Hane <[EMAIL PROTECTED]>
Para: [email protected]
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é un Mejor Amante del Cine
¿Quieres saber cómo? ¡Deja que otras personas te ayuden! .