From: sven.schulz <nu...@jb...> - 2005-05-10 15:10:50
|
Oh, I am not deeply involved. However I try to explain, what I think it does. When a complex component like a tree is rendered external resources like images for the decorations are necessary. These resources are provided by a filter (so it's a filter, not a servlet) that is configured in web.xml | <!-- MyFaces Extensions Filter --> | <filter> | <filter-name>extensionsFilter</filter-name> | <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class> | </filter> | | | | | The filter is configured to be invoked whenever the request URL matches /faces/*. | | | | Here is the javadoc of the class: | | | | anonymous wrote : This is a utility class to render link to resources used by custom components. Mostly used to avoid having to include in the head of the pages before using a component.anonymous wrote : | | | | | | | | I think it is not only used for images but also for Javascript and the like. | | | | | | | | Another use case of the filter is to handle file uploads (multipart requests). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877194#3877194 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877194 |