This content has been marked as final.
Show 2 replies
-
1. Re: Which scope type should I use ?
dhinojosa Jun 6, 2008 8:33 AM (in response to sechua)Try conversation, which is the intent for such a thing. Just remember to start your conversation somewhere. ;)
-
2. Re: Which scope type should I use ?
stephen Jun 6, 2008 10:38 AM (in response to sechua)If you need the data on that single page only and you are not even changing the data, then you can store the list in page scope.
If I am not mistaken you can do that in the getAllUsers() action handler, because writing to page scope in an action handler writes to the new page.
However I would probably rather add a page action for pageB that calls a method that retrieves the values.
That way the data will always be present no matter how you navigate to the page (plus the page could be bookmarked).