Hi,

 

I don't want that the the InputCalendar loads the images from the resources directory using the ExtensionsFilter.

So I added the imageLocation attribute and copied all the calendar images into my image directory.

 

The generated image links in the html code contain the MyFacesResourceLoader further on.

 

e.g.

.../faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11521030/calendar.HtmlCalendarRenderer/DB/right1.gif

.../faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11521030/calendar.HtmlCalendarRenderer/DB/right2.gif

.../faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11521030/calendar.HtmlCalendarRenderer/images/calendar.gif

.../faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11521030/calendar.HtmlCalendarRenderer/DB/left1.gif

 

My jsp:

<t:inputCalendar id="subDateTo" value="#{mybean.date}"

            renderPopupButtonAsImage="true"

            renderAsPopup="true"

            styleClass="calendar"

            popupDateFormat="#{msgs['global.format.dateShort']}"

            maxlength="10"

            size="9"

            imageLocation="../images/calendar"

            >

           

Any ideas why imageLocation is not working?

 

Michael

Reply via email to