Is it possible to use a tree2 from Tomahawk in Alfresco? I need to add this configuration in the web.xml
<!–Addition here for tomahawk and other my faces components–>
<!– extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages –>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<!– servlet-name must match the name of your javax.faces.webapp.FacesServlet entry –>
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping>
<!– extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) –>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
</filter-mapping>
<!– extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages –>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
Is it possible and compatible? Because I keep having this error:
java.lang.ClassCastException: org.apache.myfaces.config.MyfacesConfig
Thanks