In a jsf application I have a table with summarized data. If I'm interested in the details I can click on a row an see the details in another page. If the managed bean of the 'master' page is ion view scope it is re-created every time I return back from the 'detail' page and I don't think it is a good idea if the user is supposed to check the details more times. I can solve putting the bean in sessions cope but this way the bean (and the data) are kept in memory also when the user is interacting with the application in a completely different section. Probably I would need a custom scope but:
- the documentation about custom scope is poor and I'm a bit frightened about people complaining it has bugs and doesn't work well.
- the scenario I'm dealing with seems to me quite general, so I wonder why there is no ready solution for it.
Thanks Filippo