In the above example, the factory only gets called once per page scope. That's it.
There is nothing in that code that would ever cause the updated list to be pushed to the
page scope. For that, you need to take the scope off of the factory and outject the list
into page scope
If you took the scope off of the factory itself and outjected the datamodel into page
scope, then when the list changed in sort() the results would show up. If you wanted it
outjected on every access to the page (not just ones that call sort) then use a page
action.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986632#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...