Ok i debugged the code to some extent and i have (i think) found where the problem is:
if i start the payslips.xml (webflow) the first state is an action-state which only evaluates and sets a request parameter to a flow scope variable
The payslips.canUserApprovePayslips() method is executed in full and exited successfully THEN it shows me the flowId not found error and string out of bound exception which means it cannot find the payslips.jsp. SO now I know this is the problem but I cannot solve this as the setup is a bit complex here for the view:
<action-state id="setupModel" >
<evaluate expression="requestParameters.payslipType" result="flowScope.payslipType" ></evaluate>
<view-state id="setupView" view="payslips">
<evaluate expression="requestParameters.backFlag" result="viewScope.backFlag" ></evaluate>
<evaluate expression="payslips.canUserApprovePayslips()" result="flowScope.approvalsMap" ></evaluate>
<transition on="processPayslips" to="confirmationView" >
<view-state id="confirmView" view="payslips_confirmation">
<evaluate expression="requestParameters.selectedBulkPayslipsType" result="flowScope.selectedBulkPayslipsType" ></evaluate>
<transition on="confirm" to="resultView" ></transition>
<transition on="back" to="setupView" ></transition>
here is my View Resolver:
in this com.mypackage.mvc package there is the payslips.properties file which has listings like this :
<!-- Maps a logical view name to a physical resource using a resource bundle (views.properties)-->
<bean id="viewResolver" class="org.springframework.web.servlet.view.ResourceBundleViewResolver">
Now see I have made it this far, I don't know how this properties file is supposed to be read in webflow as a view resolver property but it is not. The non webflow urls are being accessed and the properties file is actually working in non webflow cases but the webflow urls even in the same file are not working.
I will really appreciate if anyone can help me in figuring out how to tell webflow where the jsps is for the view state.
Thanks in advance.