Hello,
I've got a code as shown below.
Seam action (using in long running conversation):
@Stateful
| @Name("action")
| class ActionImpl implements Action {
| ...
| @Out( required = false, scope = ScopeType.EVENT )
| private List<SomeBean> someList
|
| @Factory("someList")
| public void someListFactory {
| // hiere the list is filling up
| someList = ...
| }
| }
There is also xhtml somePage page which uses someList variable stored in EVENT
context. When I invoke somePage page first time, someList list is filling by
factory method and it's ok. EVENT scope is to provide values for one somePage
display only. Another displaying this page should refreshing someList but it
doesn't happen.
I need refreshed data. How to solve this problem? It can't be refreshed (by
factory method) even if I come back to this page from another one in the same
conversation.
It happens only if it's first showing somePage in new conversation.
Regards,
Slawek
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955481#3955481
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955481
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user