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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...