my problem is... the input name="simulationAnalyzeId" is always null..
please assist me...
thanks
1st flow
2nd flowCode:<?xml version="1.0" encoding="UTF-8"?> <flow xmlns="http://www.springframework.org/schema/webflow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/webflow http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd"> <view-state id="enterSimulation" view="view-simulation" model="simulationView" > <transition on="rosenka-flow" to="rosenkaSanshutsu" ></transition> <transition on="modoru" to="shuryo" /> </view-state> <end-state id="shuryo" view="externalRedirect:/view-menu" /> <end-state id="rosenkaSanshutsu" view="externalRedirect:/simulation/rosenka-flow" /> </flow>
javascriptCode:<?xml version="1.0" encoding="UTF-8"?> <flow xmlns="http://www.springframework.org/schema/webflow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/webflow http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd"> <input name="simulationAnalyzeId" required="true" /> <on-start> <evaluate expression="simulationService.createRosenkaView(simulationAnalyzeId)" result="flowScope.rosenkaView"> </evaluate> </on-start> <view-state id="enterRosenka" view="view-rosenka"> <transition on="modoru" to="shuryo"> </transition> </view-state> <end-state id="shuryo" view="externalRedirect:/simulation/simulation-flow" /> </flow>Code:<input type = "hidden" value = '${flowExecutionUrl}' id = "_flowExecutionUrl" name = "_flowExecutionUrl"></input> location.href = $("#_flowExecutionUrl").val() + '&_eventId=rosenka-flow&simulationAnalyzeId=' + Id;



Reply With Quote