[jboss-user] [JBoss Seam] - Re: Named conversation and new instance redirected to Home?

eirirlar do-not-reply at jboss.com
Thu Feb 14 02:09:22 EST 2008


Hi Tomas,

I was thinking about manually handling it, but since I only needed one type of conversation and wanted that one named, I ended up with this:

components.xml:
	<core:manager conversation-id-parameter="forsendelseId" />

view.xhtml:
<h:dataTable id="forsendelser" value="#{forsendelser}" var="fors">
  | <h:column>
  | <s:link action="#{forsendelseaction.someactionmethod}">
  | <f:param name="forsendelseId" value="#{fors.id}" />
  | #{fors.id}
  | </h:column>
  | </s:link>
  | </h:dataTable>

action method annotation:
@Begin(join = true, id = "#{facesContext.externalContext.requestParameterMap.forsendelseId}")

Comments?

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

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



More information about the jboss-user mailing list