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

Reply via email to