anonymous wrote : | I was thinking perhaps we need to add the configuration to JBoss not our app, since the MyFaces stuff is in JBoss but I couldnt find anything on the JBoss site except in some forums people say they do have this configured. |
Tomahawk works fine with application configuration. I put this in web.xml: | <!-- MyFaces : Tomahawk extension --> | | <filter> | <filter-name>MyFacesExtensionsFilter</filter-name> | <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class> | <init-param> | <param-name>maxFileSize</param-name> | <param-value>20m</param-value> | </init-param> | </filter> | | <!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages --> | <!-- keep only the mappingwith url-pattern | <filter-mapping> | <filter-name>MyFacesExtensionsFilter</filter-name> | <servlet-name>Faces Servlet</servlet-name> | </filter-mapping> | --> | | <filter-mapping> | <filter-name>MyFacesExtensionsFilter</filter-name> | <url-pattern>*.seam</url-pattern> | </filter-mapping> | | <!-- 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> | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039453#4039453 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039453 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
