On 12/21/05, Simon Kitching <[EMAIL PROTECTED]> wrote:
> > <!-- extension mapping for serving page-independent resources
> > (javascript, stylesheets, images, etc.)  -->
> > <filter-mapping>
> >     <filter-name>MyFacesExtensionsFilter</filter-name>
> >     <url-pattern>/faces/*</ url-pattern>
> > </filter-mapping>
> >
>
> I liked your suggestion of mapping this to
>    /faces/myFacesExtensionResource/*
>
> This mapping is what I use in the app I'm currently developing, and it
> works fine. Is there a reason you changed your mind?

As I mentioned on the dev list, I couldn't get it to work!

As soon as I switched from /faces/* to
/faces/myFacesExtensionResource/*, the buttons on my popup
t:inputCalendar components stopped drawing.

Strangely enough, I tried it yet again, and now it's working.  Guess
it must have been user error on my part.  I think maybe what happened
is that I broke the other piece (my web.xml uses "FacesServlet" while
MyFaces docs and examples have "Faces Servlet") and didn't notice the
difference until after I stopped trying to use
/faces/myFacesExtensionResource/*

I'm +1 for changing it to /faces/myFacesExtensionResource/*  since
you've been using that successfully.

Reply via email to