Hi Michael!
> I'll set up a small example project, can't post the whole war.
>   
Thanks!

> Could you show me the web.xml and faces-config.xml you used. 
>   
Yepp, but I do not know if its correct at all, it is my first icefaces
setup :-)  

web.xml:
<!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>
       
<variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
    </application>

</faces-config>


faces-config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"
         xmlns="http://java.sun.com/xml/ns/j2ee";
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>

    <listener>
       
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    <listener>
       
<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
    </listener>
    <listener>
       
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
    <listener>
       
<listener-class>com.icesoft.faces.util.event.servlet.ContextEventRepeater</listener-class>
    </listener>

    <context-param>
        <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
        <param-value>.iface</param-value>
    </context-param>

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

    <context-param>
        <param-name>javax.faces.CONFIG_FILES</param-name>
        <param-value>app-faces-config.xml</param-value>
    </context-param>

    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>/WEB-INF/app-spring-config.xml</param-value>
    </context-param>

    <context-param>
       
<param-name>javax.servlet.jsptl.ExpressionEvaluatorClass</param-name>
       
<param-value>org.apache.taglibs.jsptl.lang.spel.Evaluator</param-value>
    </context-param>

    <context-param>
        <param-name>com.icesoft.faces.concurrentDOMViews</param-name>
        <param-value>true</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>javax.faces.PARTIAL_STATE_SAVING_METHOD</param-name>
        <param-value>false</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>

    <filter>
        <filter-name>FacesExtensionsFilter</filter-name>
       
<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
    </filter>

    <filter>
        <filter-name>requestParameterProvider</filter-name>
       
<filter-class>org.apache.myfaces.orchestra.requestParameterProvider.RequestParameterServletFilter</filter-class>
    </filter>

    <filter>
        <filter-name>conversationFilter</filter-name>
       
<filter-class>org.apache.myfaces.orchestra.conversation.jsf.filter.OrchestraServletFilter</filter-class>
    </filter>

    <filter-mapping>
        <filter-name>FacesExtensionsFilter</filter-name>
        <url-pattern>/faces/*</url-pattern>
    </filter-mapping>

    <filter-mapping>
        <filter-name>FacesExtensionsFilter</filter-name>
        <url-pattern>*.faces</url-pattern>
    </filter-mapping>

    <filter-mapping>
        <filter-name>FacesExtensionsFilter</filter-name>
        <url-pattern>*.iface</url-pattern>
    </filter-mapping>

    <filter-mapping>
        <filter-name>requestParameterProvider</filter-name>
        <url-pattern>*.faces</url-pattern>
    </filter-mapping>

    <filter-mapping>
        <filter-name>conversationFilter</filter-name>
        <url-pattern>*.faces</url-pattern>
    </filter-mapping>

    <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet>
        <servlet-name>Persistent Faces Servlet</servlet-name>
       
<servlet-class>com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
        <servlet-name>Blocking Servlet</servlet-name>
       
<servlet-class>com.icesoft.faces.webapp.xmlhttp.BlockingServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.faces</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>Persistent Faces Servlet</servlet-name>
        <url-pattern>*.iface</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>Persistent Faces Servlet</servlet-name>
        <url-pattern>/xmlhttp/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>Blocking Servlet</servlet-name>
        <url-pattern>/block/*</url-pattern>
    </servlet-mapping>

    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.htm</welcome-file>
        <welcome-file>index.jsp</welcome-file>
        <welcome-file>default.html</welcome-file>
        <welcome-file>default.htm</welcome-file>
        <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>


</web-app>

> Perhaps something is configured differently.
>
> Thanks 
> Michael
>
>
> Mario Ivankovits wrote:
>   
>> I tried the following with the latest ICEFaces (1.6.0-DR5) and it works
>> as expected. Though, I have to admit I am wondering WHY it works as as
>> you stated Icefaces do not add the conversationContext= url parameter.
>> It looks like it somehow captures the request map and provides the same
>> map for the partial submit request (through the
>> CopyingRequestAttributesMap).
>>
>> Could you explain a little bit in detail what exactly you try to do ...
>> or even  better ... could you provide some sort of war which shows the
>> problem - would be great.
>>
>> What I tried was to have a simple conversation scope bean and a form
>> printing some conversation debugging stuff. If the output of the partial
>> submit matches with the output above we were able find our conversation
>> again.
>>
>> Ciao,
>> Mario
>>
>>
>>
>>     
>
>   

Reply via email to