<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name> <url-pattern>/faces/*</url-pattern> </filter-mapping>
Look here :http://myfaces.apache.org/docs/extensionsFilter.html
On Tue, 2005-05-03 at 21:34 -0400, Patrick B Haggood wrote:
Ttrying to use x:popup, no popup on hover. Already added
extensionsfilter to web.xml for upload (which works).
My popup:
<h:column id="fc1">
<x:popup styleClass="popup">
<h:graphicImage id="pic" value="img/document.gif" />
<f:facet name="popup">
<h:panelGroup>
<h:panelGrid columns="1">
<h:outputLink value="openAction">
<h:outputText value="Open" />
</h:outputLink>
<h:outputLink value="copyAction">
<h:outputText value="Copy" />
</h:outputLink>
<h:outputLink value="deleteAction">
<h:outputText value="Delete" />
</h:outputLink>
<h:outputLink value="modifyAction">
<h:outputText value="Modify" />
</h:outputLink>
</h:panelGrid>
</h:panelGroup>
</f:facet>
</x:popup>
<h:outputText value="#{litem.name}" />
</h:column>
Excerpt from my web.xml, copied from myfaces-examples:
<!-- Extensions Filter -->
<filter>
<filter-name>extensionsFilter</filter-name>
<filter-class>
org.apache.myfaces.component.html.util.ExtensionsFilter
</filter-class>
<init-param>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
<description>
Set the size limit for uploaded files. Format: 10 - 10
bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
</description>
</init-param>
<init-param>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
<description>
Set the threshold size - files below this limit are
stored in memory, files above this limit are stored on
disk.
Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
</description>
</init-param>
<!-- <init-param>
<param-name>uploadRepositoryPath</param-name>
<param-value>/temp</param-value>
<description>Set the path where the intermediary files will be
stored.
</description>
</init-param>-->
</filter>
<!-- Filter Mappings -->
<!-- <filter-mapping>-->
<!-- <filter-name>_javascript_Detector</filter-name>-->
<!-- <url-pattern>/_javascriptDetector_</url-pattern>-->
<!-- </filter-mapping>-->
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>*.faces</url-pattern>
</filter-mapping>
On Sat, 2005-04-02 at 10:15 -0500, Rob Decker wrote:
> There is an extensionFilter (it's the one for fileupload) that you need to
> set up in your web.xml. The filter and filter-mapping for it are commented
> out by default.
>
> Rob

