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 16:46:07 GMT
Hello Sandeep,

I just checked the code and we didn't even maintain backward compatibility
on that component, not that I see anyway. Just out of curiosity, what
version are you using so that af|selectInputDate::launch-icon still works?


Regards,

~ Simon

On 8/9/07, sandeep gururaj <sandeep.gururaj@chordiant.com> wrote:
>
> Thanks Simon for this information.
>
> ~Sandeep
> ________________________________________
> From: Simon Lessard [mailto:simon.lessard.3@gmail.com]
> 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 <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