So, is there any way to annotate a method with @Begin so that it will nest
conversation if no conv. with given id exists and pick up existing one if it's
available?
Something like this:
| @Begin(nested="true", id="update#{item.id}"
| public void editItem(){
| }
|
Actually, i don't nee
Hi,
Thank you for help. Yes it works, but as pointed by Gavin
(http://www.jboss.com/index.html?module=bb&op=viewtopic&t=102935, last post on
the page) usage of Manager is discouraged, and besides all that api calls from
the app code makes it cluttered and thus spoils most of seam's beauty.
wbr
I forgot an important note: I tried to do this from a long running conversation
and Seam switches from one long running to the other long running conversation
without any problem.
Regards,
Raffaele Camanzo
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=402544
Hi Eugen,
I did not try with nested conversation but I don't see any counter-indication
(and I hope that there are not), anyway, if you need to switch to a
conversation with a given id (or known, this is necessary for this mechanism)
you can try to do this:
| Manager.instance().switchConver
I would really appreciate any help!
wbr, eugen.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025335#4025335
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025335
___
jboss-
Hi,
If i understand correctly it's impossible to swith to the old conversation if
there is long running one:
| class ConversationInterceptor
| ...
|public boolean redirectToExistingConversation(Method method)
|{
| if ( !Manager.instance().isLongRunningConversati
added, http://jira.jboss.org/jira/browse/JBSEAM-854
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017239#4017239
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017239
___
jbo
If so, add an issue to JIRA and I'll take a quick look at that.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016744#4016744
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016744
___