This content has been marked as final.
Show 3 replies
-
1. Re: Question on Richfaces+Jetty
nbelaevski Nov 13, 2008 9:59 PM (in response to janson12)Hi,
I use Jetty 6.1.5 in development and I haven't encounter this issue. Can you please post more detailed description of the problem:
- page code
- environment: JSF version, Facelets/JSP
- web.xml
? -
2. Re: Question on Richfaces+Jetty
janson12 Nov 14, 2008 8:34 AM (in response to janson12)Hi,
i the JSF RI 1.2 without facelets.
web.xml:<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> <context-param> <param-name>org.richfaces.SKIN</param-name> <param-value>customSkin</param-value> </context-param> <filter> <display-name>RichFaces Filter</display-name> <filter-name>richfaces</filter-name> <filter-class>org.ajax4jsf.Filter</filter-class> <init-param> <param-name>createTempFiles</param-name> <param-value>false</param-value> </init-param> </filter> <session-config> <session-timeout>1</session-timeout> </session-config> <filter-mapping> <filter-name>richfaces</filter-name> <servlet-name>Faces Servlet</servlet-name> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <!-- Loads Richfaces Styles once at the beginning --> <context-param> <param-name>org.richfaces.LoadStyleStrategy</param-name> <param-value>ALL</param-value> </context-param> <context-param> <param-name>com.sun.faces.verifyObjects</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>com.sun.faces.validateXml</param-name> <param-value>true</param-value> </context-param> <!-- SOAP servlet START --> <context-param> <param-name>ConfigFile</param-name> <param-value>Z:/Collector/web/WEB-INF/soap.xml</param-value> </context-param> <servlet> <servlet-name>rpcrouter</servlet-name> <servlet-class>org.apache.soap.server.http.RPCRouterServlet</servlet-class> <init-param> <param-name>faultListener</param-name> <param-value>org.apache.soap.server.DOMFaultListener</param-value> </init-param> </servlet> <servlet> <servlet-name>messagerouter</servlet-name> <servlet-class>org.apache.soap.server.http.MessageRouterServlet</servlet-class> <init-param> <param-name>faultListener</param-name> <param-value>org.apache.soap.server.DOMFaultListener</param-value> </init-param> </servlet> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</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>rpcrouter</servlet-name> <url-pattern>/servlet/rpcrouter</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>messagerouter</servlet-name> <url-pattern>/servlet/messagerouter</url-pattern> </servlet-mapping> <servlet> <servlet-name>ServletRedirector</servlet-name> <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class> </servlet> <servlet-mapping> <servlet-name>ServletRedirector</servlet-name> <url-pattern>/ServletRedirector</url-pattern> </servlet-mapping> <!-- SOAP servlet ENDE --> </web-app>
a4j:status:
<a4j:outputPanel layout="block" id="loadingBox"> <a4j:status id="status"> <f:facet name="start"> <h:graphicImage value="/protected/images/loading.gif"/> </f:facet> </a4j:status> </a4j:outputPanel>
the issue with the datatable seems to rather be a matter of misplacing the sortBy attribute in a columngroup... -
3. Re: Question on Richfaces+Jetty
nbelaevski Nov 14, 2008 12:38 PM (in response to janson12)Hi,
Try to change this:<session-config> <session-timeout>1</session-timeout> </session-config>
to a larger value or use client-side state saving.