Hi there,
I figured out a problem with the icepush. I build a webapp with icepush included and first all seems good, but when I tried the push function nothin happened. In frontend, better said, firebug i just get the message that ice.push is not found.
I configured my web.xml by the following way:
Code:
<welcome-file-list>
<welcome-file>faces/screens/index.xhtml</welcome-file>
</welcome-file-list>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
<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>
I'm using pure JEE 6 with JBoss AS 6 M4 and actual ICEfaces Beta1.
When I change Faces Servlet to *.jsf and Default Suffix to jsf to, and open the site by jsp redirect everything works fine.
So, may this is a bug, that ICEpush not works with .xhtml mapping or may I make a failure myself.
So on, thank you and nice greetings
Florian