Check your ExtensionsFilter: 
http://myfaces.apache.org/tomahawk/extensionsFilter.html 

Which means you have to add the following to your web.xml:


    <filter>
        <filter-name>MyFacesExtensionsFilter</filter-name>
       
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
        <init-param>
            <param-name>maxFileSize</param-name>
            <param-value>20m</param-value>
        </init-param>
    </filter>


    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
    </filter-mapping>
--
View this message in context: 
http://www.nabble.com/How-to-pass-parameter-within-%3Ch%3AcommandButton-%3E--t1641985.html#a4447861
Sent from the MyFaces - Users forum at Nabble.com.

Reply via email to