Basically what im trying to say is...
Page1 - the from page - RequestScope
Page2 - the page im populating with data and main concern - SessionScope
So the flow is , i enter a serial num on page1 and a table with rows pops up displaying records dealing with that serial.
I then click on the table row i want to goto, in turn im brought to page2 with all the data displayed in the respective inputbox.
So let me describe more clearly what my situation is:
When i populate page2, I'm doin a select on a db table to do so. I have this done inside a getter on the page. In order for this to only happen once I use a boolean to check if its false do the db stuff and then set to true so it wont go through again. Because theres going to be 20-40 people running the application at the sametime and that would be bad news if it happened more than once. Since this page is sessionScope after the initial call, the constructor is never called again and like wise with the pageScope variables. A boolean wont be reset to false if I come back to this page. I can't always guarunte the user will click the given buttons on the page i can use to reset the bool back to false. They may click on the template links and leave the page that way, in which i need to deal with that also. I was propsing that I make the boolean i need to reset in Page1 and inject it in page2 (which you just said i can't). Can i possibly then, in the constructor for page1 have the boolean initialized there, create a Page1 object in Page2 and then call a getter on the object to get the boolean? I'm trying to get this to work anyway I can simply because I'm put inside this box of having to use jsf,not being able to change the scope or installing prettyfaces(which sounds cool to try) - really I'm stuck using what I've got to do it. I've tried onunload and an array of other stuff, but no luck. The only issue with doing what I proposed is im not exactly sure on the lifetime of the object of type page1. Lemme know if that cleared up things alittle more.