[jboss-user] [JBoss Seam] - Re: Seam and IceFaces problem

jmiguel77 do-not-reply at jboss.com
Wed Dec 27 19:53:02 EST 2006


Hi:

I used the embedded example from the Seam 1.0.1/examples and now, at least there are no exceptions thrown in the page

But i am facing a new problem (i am really starting to dissapoint about this icefaces thing)

I have this page:

<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	    		xmlns:ui="http://java.sun.com/jsf/facelets"
	  			xmlns:h="http://java.sun.com/jsf/html"
	  			xmlns:f="http://java.sun.com/jsf/core"
	  			xmlns:s="http://jboss.com/products/seam/taglib"
                xmlns:ice="http://www.icesoft.com/icefaces/component"
                template="../template/global.xhtml">
				
	<ui:define name="content">
		<h:outputText value="#{messages['user.label.list']}" />
		<ice:dataTable  value="#{userList}" var="user" width="100%">
				<h:column id="userIdColumn">
					<f:facet name="header">Id</f:facet>
					<ice:outputText value="#{user.userId}"/>
				</h:column>
				<h:column id="userNameColumn">
					<f:facet name="header">Name</f:facet>
					<ice:outputText value="#{user.userName}"/>
				</h:column>
				<h:column id="userRoleColumn">
					<f:facet name="header">Role</f:facet>
					<ice:outputText value="#{user.role.roleName}"/>
				</h:column>
				<h:column id="actionColumn">
					<f:facet name="header">Actions</f:facet>
					<s:link id="editSeamLink" value="#{messages['common.label.edit']}" action="#{securityManager.selectUser}"/>
					<s:link id="deleteSeamLink" value="#{messages['common.label.delete']}" action="#{securityManager.deleteUser}"/>
				</h:column>
			</ice:dataTable>
	</ui:define>
</ui:composition>

it is really a simple page right ??? I have tried the same page with the same components (the session beans and stuff) without icefaces and everything worked fine

But with the ice:dataTable i get no values in the id, name and role columns once the page is loaded. If i click in the edit link, i get a bean in the edit page, but when i return to the list page, that loaded bean is present in the entire list

The number of rows in the table is ok, but the data i all jammed.

What can it be ???

thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996551#3996551

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996551



More information about the jboss-user mailing list