[jboss-user] [JBoss Seam] - Re: Why cannot I run more than one concurrent conversation S
gus888
do-not-reply at jboss.com
Fri Sep 28 11:08:37 EDT 2007
Hi Jacob,
This time I got a little clear, but I still don't know how to use it in my following code. In my previous studyList, the more codes like this: (I think this is typical search bean)@Stateful
| @Scope(CONVERSATION)
| @Name("studyList")
| public class StudyListAction implements StudyList {
|
| ...
| @Create
| @Begin
| public init() {
| ...
| }
|
| @Begin(join=true)
| public String findStudy {
| ...
| }
|
| @Begin(join=true)
| public void nextPage() {
| ...
| }
|
| @Begin(join=true)
| public void previousPage() {
| ...
| }
|
| @Begin(join=true)
| public void firstPage() {
| ...
| }
|
| @Begin(join=true)
| public void lastPage() {
| ...
| }
|
| ...
| }
Should I use <s:conversationPropagation propagation="none"/> in each method? Like this: <h:commandButton value="List Study" action="#{studyList.findStudy}">
| <s:conversationPropagation propagation="none"/>
| </h:commanButton>
|
| <h:commandButton value="Next Page" action="#{studyList.nextPage}">
| <s:conversationPropagation propagation="none"/>
| </h:commanButton>
|
| <h:commandButton value="Last Page" action="#{studyList.lastPage}">
| <s:conversationPropagation propagation="none"/>
| </h:commanButton>
|
| ......
|
Thank you for any help!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089744#4089744
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089744
More information about the jboss-user
mailing list