[jboss-user] [JBoss Seam] - Re: PAGE scope DataModel's selection not correct

Holy Joe do-not-reply at jboss.com
Tue Sep 19 15:10:39 EDT 2006


Thanks for the info.  Changing the bean to be page scoped made the selection work again, but it breaks some behavior in my app.  The real bean in my app lets the user enter search text into the text field, and shows the results in the list.  The data from which the list is generated, however, is being changed asynchronously, by processes unaware of these beans, so I want the list regenerated each time the user comes to the page.  I want the search text to remain for the session, so I have a session-scoped bean with a page-scoped list.  Is there a better way?


In any case, even though my use may be wacky, it seems like it should still work, no?  The DataModel is supposed to be page scoped, not individual-call-to-my-bean scoped, so I'd expect all the calls in the restore view phase to see the same one.



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

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



More information about the jboss-user mailing list