Hi all,
    I have tried to reproduce this problem, but I failed. I new a simplest application and turn on AUTO_SCROLL, it works well.
    However, in my real application, AUTO_SCROLL doesn't work. Maybe It conflicts with some other config. Here is my web.xml and faces-config.xml:
web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation=" http://java.sun.com/xml/ns/j2ee   http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>0</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.faces</url-pattern>
    </servlet-mapping>

    <servlet>
        <servlet-name>Jenia internal servlet</servlet-name>
        <servlet-class> org.jenia.faces.util.Servlet</servlet-class>
        <load-on-startup>2</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>Jenia internal servlet</servlet-name>
        <url-pattern>/jenia4faces/*</url-pattern>
    </servlet-mapping>

    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>server</param-value>
    </context-param>

    <context-param>
        <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
        <param-value>true</param-value>
    </context-param>

    <context-param>
        <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
        <param-value>false</param-value>
    </context-param>

    <context-param>
        <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
        <param-value>true</param-value>
    </context-param>

    <context-param>
        <param-name> org.apache.myfaces.AUTO_SCROLL</param-name>
        <param-value>false</param-value>
    </context-param>
    <listener>
        <listener-class>org.springframework.web.context.ContextLoaderListener </listener-class>
    </listener>
    <filter>
        <filter-name>sessionFilter</filter-name>
        <filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter </filter-class>
    </filter>
    <filter-mapping>
        <filter-name>sessionFilter</filter-name>
        <url-pattern>*.faces</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>sessionFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>/WEB-INF/classes/gleeContext.xml</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.CONFIG_FILES</param-name>
        <param-value>/WEB-INF/faces- config.xml,/WEB-INF/faces-managed-beans.xml,/WEB-INF/faces-navigation.xml</param-value>
    </context-param>

    <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>
        <init-param>
            <param-name>uploadThresholdSize</param-name>
            <param-value>100k</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>*.faces</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
    </filter-mapping>

    <!-- **************WS*************************-->
    <display-name>Fudan VOD</display-name>

    <listener>
        <listener-class>org.apache.axis.transport.http.AxisHTTPSessionListener</listener-class>
    </listener>

    <servlet>
        <servlet-name>AxisServlet</servlet-name>
        <servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>AdminServlet</servlet-name>
        <servlet-class> org.apache.axis.transport.http.AdminServlet</servlet-class>
        <load-on-startup>100</load-on-startup>
    </servlet>

    <servlet>
        <servlet-name>SOAPMonitorService</servlet-name>
        <servlet-class>org.apache.axis.monitor.SOAPMonitorService</servlet-class>
        <init-param>
            <param-name>SOAPMonitorPort</param-name>
            <param-value>5001</param-value>
        </init-param>
        <load-on-startup>100</load-on-startup>
    </servlet>

    <servlet-mapping>
        <servlet-name>AxisServlet</servlet-name>
        <url-pattern>/servlet/AxisServlet</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>AxisServlet</servlet-name>
        <url-pattern>*.jws</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>AxisServlet</servlet-name>
        <url-pattern>/services/*</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>SOAPMonitorService</servlet-name>
        <url-pattern>/SOAPMonitor</url-pattern>
    </servlet-mapping>
    <session-config>
        <session-timeout>5</session-timeout>
    </session-config>

    <mime-mapping>
        <extension>wsdl</extension>
        <mime-type>text/xml</mime-type>
    </mime-mapping>

    <mime-mapping>
        <extension>xsd</extension>
        <mime-type>text/xml</mime-type>
    </mime-mapping>
</web-app>

faces-config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" " http://java.sun.com/dtd/web-facesconfig_1_1.dtd">

<faces-config>
    <application>
        <message-bundle>edu.fudan.glee.view.bundle.MessageBundle</message-bundle>
        <locale-config>
            <default-locale>zh_CN</default-locale>
        </locale-config>   <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
    </application>
    <converter>
        <converter-id>StringConverter</converter-id>
        <converter-class>edu.fudan.glee.view.bean.StringConverter</converter-class>
    </converter>
    <navigation-rule>
     ....
    </navigation-rule>
    <managed-bean>
     ....
    </managed-bean>
    ....
</faces-config>

Hope it helps.

2006/6/18, Jim the Standing Bear <[EMAIL PROTECTED]>:
Could this be it? I was compiling the code on a Windows XP machine as well?


On 6/18/06, Matthias Wessendorf <[EMAIL PROTECTED] > wrote:
or:
create an issue and upload a "sample war file"

On 6/17/06, Dennis Byrne < [EMAIL PROTECTED]> wrote:
> Can some of you post a directory listing of WEB-INF/lib ?  A snippet of all jsf related context params would help as well.
>
> Dennis Byrne
>
> >-----Original Message-----
> >From: Hailong Zhang [mailto:[EMAIL PROTECTED]]
> >Sent: Sunday, June 18, 2006 01:11 AM
> >To: 'MyFaces Discussion'
> >Subject: Re: AUTO_SCROLL Kills Command Links
> >
> >Hi Dennis,
> >    I have this problem too. My environment is Windows XP sp2,
> >Firefox1.5.0.4, JDK 1.5.0_06-b05. MyFaces 1.1.3 & Tomahawk 1.1.3,
> >
> >2006/6/18, Dennis Byrne < [EMAIL PROTECTED]>:
> >>
> >> I still can't reproduce this - using the simple examples web application
> >> (myfaces distribution).  I tried w/ trunk and with MyFaces 1.1.3 and
> >> Tomahawk 1.1.3 .  getScrolling() renders when the
> >> org.apache.myfaces.AUTO_SCROLL context parameter is set to true and
> >> getScrolling() dows not render when the org.apache.myfaces.AUTO_SCROLLcontext parameter is set to false.  In both cases and the outputLink
> >> elements on the home page work.
> >>
> >> @Mike - An example of the org.apache.myfaces.AUTO_SCROLL context param, w/
> >> a few lines of documentation, is in web.xml of the simple examples
> >> application.
> >>
> >> So ... what is it about your dev environments that is different?  It is
> >> probably something simple.
> >>
> >> Dennis Byrne
> >>
> >>
> >> >-----Original Message-----
> >> >From: Jim the Standing Bear [mailto: [EMAIL PROTECTED]]
> >> >Sent: Saturday, June 17, 2006 03:09 PM
> >> >To: 'MyFaces Discussion'
> >> >Subject: Re: AUTO_SCROLL Kills Command Links
> >> >
> >> >It is a problem with the _javascript_ function getScrolling(). Somehow it
> >> >doesn't get generated. This goes true not for commandlinks, but also
> >> other
> >> >stuff.  One way to workaround is to run with an earlier version of the
> >> >myFaces, and look at the rendered html/_javascript_ source code from the
> >> web
> >> >browser. Copy down the function getScolling()... then insert this
> >> function
> >> >in your .jsp file, and then compile and run with the newer version of
> >> >tomahawk. that way, the JS function will be there.
> >> >
> >> >On 6/17/06, Mike Duffy < [EMAIL PROTECTED]> wrote:
> >> >>
> >> >> Thx Dennis.
> >> >>
> >> >> If you use the Tomahawk jar from the 1.1.1 example app, the command
> >> links
> >> >> work.
> >> >>
> >> >> I am not a _javascript_ guru, but the _javascript_ that is generated is
> >> >> definitely different between
> >> >> the current 1.1.3 jar and the 1.1.1 jar; if you compare the two you
> >> might
> >> >> see the answer.
> >> >>
> >> >> Also, I can't seem to find my reference for configuring AUTO_SCROLL in
> >> >> general.  Searching the
> >> >> Wiki does not help and there's lots of noise in Google.  Can you please
> >> >> forward a reference link?
> >> >>
> >> >> Mike
> >> >>
> >> >>
> >> >> --- Dennis Byrne < [EMAIL PROTECTED]> wrote:
> >> >>
> >> >> > Hey guys.
> >> >> >
> >> >> > The dev team recognizes the problem and I promise it will be
> >> fixed.  Any
> >> >> pointers from the user
> >> >> > community will help.
> >> >> >
> >> >> > Dennis Byrne
> >> >> >
> >> >> > >-----Original Message-----
> >> >> > >From: Enrique Medina [mailto:[EMAIL PROTECTED]]
> >> >> > >Sent: Saturday, June 17, 2006 02:11 AM
> >> >> > >To: 'MyFaces Discussion'
> >> >> > >Subject: Re: AUTO_SCROLL Kills Command Links
> >> >> > >
> >> >> > >Me too :-(
> >> >> > >
> >> >> > >On 6/16/06, Raj Rajendran < [EMAIL PROTECTED]> wrote:
> >> >> > >>
> >> >> > >> I have also brought this issue up before, still have it with
> >> >> 1.1.4Snapshot.
> >> >> > >>
> >> >> > >>
> >> >> > >>
> >> >> > >> On 6/16/06, Mike Duffy < [EMAIL PROTECTED]> wrote:
> >> >> > >> >
> >> >> > >> > This issue has been brought up in multiple posts to this list.
> >> >> > >> >
> >> >> > >> > I am using MyFaces Core 1.1.3 and Tomahawk 1.1.3 (latest and
> >> >> greatest
> >> >> > >> > for both).
> >> >> > >> >
> >> >> > >> > When I configure AUTO_SCROLL to true, the command links do not
> >> >> function.
> >> >> > >> >
> >> >> > >> >
> >> >> > >> > Mike
> >> >> > >> >
> >> >> > >> > __________________________________________________
> >> >> > >> > Do You Yahoo!?
> >> >> > >> > Tired of spam?  Yahoo! Mail has the best spam protection around
> >> >> > >> > http://mail.yahoo.com
> >> >> > >> >
> >> >> > >>
> >> >> > >>
> >> >> > >
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >> __________________________________________________
> >> >> Do You Yahoo!?
> >> >> Tired of spam?  Yahoo! Mail has the best spam protection around
> >> >> http://mail.yahoo.com
> >> >>
> >> >
> >> >
> >> >
> >> >--
> >> >--------------------------------------
> >> >Standing Bear Has Spoken
> >> >--------------------------------------
> >> >
> >>
> >>
> >>
> >
>
>
>


--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com



--
--------------------------------------
Standing Bear Has Spoken
--------------------------------------

Reply via email to