Currently we have a project in production which is deployed in WAS 6.1. We are trying to migrate that to WAS7
I have a piece of code as given below. if "ShowView" is set to "true", we need to display set of section under that block. All business logic has been written in onPageLoadBegin and at the end, based on certain conditions, we set "ShowView" flag. Acutally what is happening is that, when it comes to the page, it first executes the java piece of code(skips all the code comes under if block) and then control goes to onPageLoadBegin. After executing that method, it does not display those sections, because, java piece of code already executed and those section skipped already.
It is perfectly working in WAS 6.1. I am pretty new to JSF and not sure how exactly preRender and server piece of code works together. Logically, in general, always server piece of code executes first, followed by JSP/Struts code. According to that, what is happening is correct. Since it is working in WAS 6.1 already, am confused.