I'm not able to get the subdialog to go to the called application the application hangs up the call. I can get the submit next to transfer to the application, but the variable is not coming across.
First this is the subdialog code that executes with no errors but continues to the end of the script and the call hangs up:
public void markupLanguageGeneration(PrintStream out, Submit submit, SCESession mySession) {
String strDnis = "100000";
out.println("<block>");
out.println("<var name=\"sendDNIS\" expr=" + strDnis + "/>");
out.println("<subdialog name=\"CallApp\" src=\"/EGID/Start\" namelist=\"sendDNIS\"/>");
out.println("</block>");
super.markupLanguageGeneration(out, submit, mySession);
}
This is the submit next line that does send the call to the app2.
out.println("<submit next=\"/EGID/Start\" namelist=\"sendDNIS\" method=\"post\"/>");
And the receiving app code for receiving the varaiable is
String passedDNIS = mySession.getRequest().getParameter("sendDNIS");
Is there a piece that I'm missing?
|