myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Lessard" <simon.lessar...@gmail.com>
Subject Re: How to skin inputDate icon?
Date Thu, 09 Aug 2007 14:46:22 GMT
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 <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: 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:
>
> <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 <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 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! .
>

Mime
View raw message