This content has been marked as final.
Show 2 replies
-
1. Re: JPDL page flow, leaving and returning, conversation has ended
troeng Feb 5, 2009 2:08 PM (in response to troeng)I realized that s:link.... can be used to keep the conversation, however the s:link doesn't seem to allow links to external resources in the view-id.
So my problem is still that I cannot create a dynamic link (created from my backing bean) to an external resource, without killing the seam conversation.
Any advice is appreciated.
-
2. Re: JPDL page flow, leaving and returning, conversation has ended
kukeltje.ronald.jbpm.org Feb 5, 2009 2:57 PM (in response to troeng)From seam docs (using google)
If you want to propagate a Seam conversation across a non-faces request, you need to explicitly code the Seam conversation id as a request parameter:<a href="main.jsf?conversationId=#{conversation.id}">Continue</a>
Or, the more JSF-ish:<h:outputLink value="main.jsf"> <f:param name="conversationId" value="#{conversation.id}"/> <h:outputText value="Continue"/> </h:outputLink>
If you use the Seam tag library, this is equivalent:<h:outputLink value="main.jsf"> <s:conversationId/> <h:outputText value="Continue"/> </h:outputLink>