This is my filter configuration in web.xml:
<filter>
<filter-name>extensionsFilter</filter-name>
<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
<init-param>
<param-name>uploadRepositoryPath</param-name>
<param-value>/temp</param-value>
</init-param>
<init-param>
<param-name>maxFileSize</param-name>
<param-value>2m</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<servlet-name>faces</servlet-name>
</filter-mapping>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>faces</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>faces</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
-------------------
With this configuration I have a getScrolling _javascript_ error every time I click on a commandLink.
any ideas?
R.
On 5/18/06,
Mike Kienenberger <[EMAIL PROTECTED]> wrote:
Are you getting errors about the extension filter not being properly configured?
The getScrolling function is added to your page html by the extension filter.
On 5/18/06, Ricardo Tercero Lozano < [EMAIL PROTECTED]> wrote:
>
> Hello,
>
> today I tested my application against myfaces-core-1.1.3 and tomahawk-1.1.2
> and I found an issue related to HtmlCommandLink. Every time I click on a
> link, a _javascript_ error is generated: getScrolling is not defined.
>
> I'm running tomcat 5.5.15. I've setted extensions filter as shown in
> [MYFACES-1259] and if I set the context-param org.apache.myfaces.AUTO_SCROLL
> to true I get the above _javascript_ error.
>
> The only workaround I found is set the context-param to false.
>

