Oh ok, this is interesting.
So:
(1) you *do* want to leave the conversation scope, as I suggested
(2) but you want to present the user a challenge screen *first*
Well, this seems doable, let me see. It's too late for me to test this idea, so
it might not be perfect, but please try it:
First, write a link that breaks out of the conversation, but remembers the
conversationId as a parameter:
<h:outputLink value="challengePage.jsp">
| <f:param name="oldConversationId" value="#{conversation.id}"/>
| </h:outputLink>
Then, on the challenge page, let the user go back to the conversation, like so:
<h:outputLink>
| <f:param name="conversationId" value="#{param['oldConversationId']}"/>
| </h:outputLink>
I *think* that Seam will then automagically force you back to the original
view-id that you came from. (If not, we'll need to do a teensy bit more work.)
Does that make sense?
Let me know if it solves your problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919046#3919046
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919046
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user