Question:
In a Gen Web application if a user executes a URL for a Procedure Step e.g. menu.jsp, how can they be first redirected to a different PStep e.g. login.jsp
Answer:
The way to achieve this behaviour is to use CLEAR SCREEN INPUTS.
For Web Generation an extra line needs to be added to the generated jsp before building the app i.e.
request.setAttribute("clearScreenInputs", "myValue");
This section of the Gen wiki has more details: Run Web Generation
Additional Information:
Attached are:
Example model with login & menu Procedure Steps to demonstrate: clear1.ief.zip
A document which describes the design and testing steps (using Gen DiagramTrace) after deploying to Tomcat: Gen_webapp_clearscreeninput_testing.docx