I'm developing an application and I have a page that is divided in three pieces.
for example:
- Select Files(s)
- Modify Files(s)
- View Results.
Requirements:
- User can go back at page 1 from page 2 (this is not a big deal, redirect works too)
- User can go back at page 2 from page 3 (at this point i need all the data of page 2)
- User can go from page 3 to page 1 with no data. (Something like New file modification)
Currently I'm using one single .xhtml
page (panel visibility change) and one @ViewScoped
bean but as I add more functions in that page this is getting bigger and hard to maintain/modify. Also, i don't think that this is the best way to do it.
I start reading about @FlowScoped
and @ConversationScoped
but id like to hear some advices/opinions.
Thank you!