Hi, 

I have a question concerning "recursive" converstation/operations.
Let's say that I have documents that refer to other documents.

Now, I have a stateful bean that contains a searchDocuments method, a list of 
documents (the result of the seach) and a search parameter (a string that 
identifies document(s)).

I also have a stateless bean to select document. It just inject the the 
selected document to the stateful bean that view the doc.

There is another staleful bean to view a document (there is other business 
logic involved when displaying a document).

I would also like to use the breadcrump functionality from jboss seam.

Here is what happens:

1) on the first searchDocuments I start a conversation with @begin(true)

2) resulting documents are displayed. The breadcrump is displayed. The user can 
now select one document. 

3) when the user selects a document, a nested conversation is started on the 
selectDocument method (from the stateless bean).

4) Once the document is selected the user is presented with criteria that, once 
clicked, will forward him to 2). For this another method with @begin(nested = 
true) is used. However, the same stateful bean perfoms the operation.

The breadcrump is well displayed. However, if you click on the first occurrence 
of the breadcrump, the staful bean perfoms the operation with the arguments of 
the last operation resulting in completely wrong results.

Is there a way of performing "recursive" operation using nested converstation?

Thanks for you help,

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to