Integrate Seam 2.2.0 with ICEfaces 2.0.0 Beta
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Integrate Seam 2.2.0 with ICEfaces 2.0.0 Beta  XML
Forum Index -> JBoss Seam Integration
Author Message
jonas.esser

Joined: 24/07/2008 00:00:00
Messages: 69
Offline


Hello,

i tried to integrate Seam with Icefaces 2.0 and JSF 2.0, but i get the following output:

"Missing view ID attribute. Request map cleared prematurely."

I have added the Seam Listener to the web.xml:
[code]
<listener>
<listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
</listener>

<filter>
<filter-name>Seam Exception Filter</filter-name>
<filter-class>org.jboss.seam.servlet.SeamExceptionFilter</filter-class>
</filter>

<filter-mapping>
<filter-name>Seam Exception Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

<servlet>
<servlet-name>Seam Resource Servlet</servlet-name>
<servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>Seam Resource Servlet</servlet-name>
<url-pattern>/seam/resource/*</url-pattern>
</servlet-mapping>
[/code]

and i created a pages.xml File for conversation handling.

There is no view-handler in the faces-config. For icefaces 1.8 i used the D2DSeamFaceletViewHandler, but i think for icefaces 2.0 is no view handler needed.

What have I missed?

Best regards,
jonas

EDIT1:

There is also a warning:

"ICEfaces configured for view /start.xhtml but h:head and h:body components are required"

But there are h:head and h:body components in the template file.

EDIT2:

On the rendered page I can see the marker

~com.sun.faces.saveStateFieldMarker~

, which was not replaced with the hidden html input tag.!?
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1196
Offline


Are you referring to Seam3? I don't believe Seam2.2.0 is tested with jsf2.0 (that would be Seam3). So far, Weld (which Seam3 is built upon) jsf2.0 and ICEfaces 2 have been established as a working set. Since Seam3 is preliminary, there is no reference to working applications with jsf2.0 and ICEfaces-2.0
jonas.esser

Joined: 24/07/2008 00:00:00
Messages: 69
Offline


Thanks for your answer. I will try Seam3.
Unvirtual

Joined: 02/01/2009 00:00:00
Messages: 42
Offline


Seam 3 is everything then ready to work. But if you like challenges it is a good try. With basic JEE 6 (CDI, JSF 2.0) it is no Problem to work with ICEfaces 2.0. Still many bugs but there will hopefully a final release next time.
 
Forum Index -> JBoss Seam Integration
Go to:   
Powered by JForum 2.1.7ice © JForum Team