[jboss-user] [JBoss Seam] - Re: begin-conversation in Seam2 prevents data load

damianharvey do-not-reply at jboss.com
Sat Aug 4 11:02:29 EDT 2007


Pete,

I have modified the UI example and it shows the same problem.

I added an ID to the personHome in components.xml:
<framework:entity-home name="personHome" entity-class="org.jboss.seam.example.ui.Person">
  |     <framework:id>#{personId}</framework:id>
  | </framework:entity-home>
I changed selectItems.xhtml to include the following links at the top:
	<h:form>
  | 		<s:link view="/selectItems.xhtml" action="#{personHome.find}" value="Load Pete">
  | 			<f:param name="personId" value="1"/>
  | 		</s:link>
  | 		<br/>
  | 		<s:link view="/selectItems.xhtml" action="#{personHome.find}" value="Load Damian">
  | 			<f:param name="personId" value="2"/>
  | 		</s:link>
  | 	
  | 		<s:decorate template="decorateField.xhtml">
  | 			<ui:define name="label">ID</ui:define>
  | 			#{person.id}
  | 		</s:decorate>	
  | ......	
  | 
I then added an entry for me in the import.sql. The idea is that when one of these links is clicked on the relevant entry should be loaded. Not surprisingly it doesn't work. If I remove <begin-coversation join="true"> from the pages.xml then it does work.

Can I call it a bug yet?

Thanks,

Damian.



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

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



More information about the jboss-user mailing list