I need to process my Form and then popup a report in a new browser window with the result of the Form processing. I would like to do this with one click from the user. Any ideas if this solution is already built? I tried to use Link with PopupSettings, but the form submit does not trigger and results in the form not being validated and the form component models not being updated with the user input.

Here is a simplified example, in Form.onSubmit():
{
    int sum = userInput1 + userInput2;
    PageParameters params = new PageParameters();
    params.add("Total", String.valueOf(sum));

    // I want the response in a new window
    setResponse(new ReportPage(params));
}
--
Jered Myers
Programmer/Project Analyst
[email protected] <mailto:[email protected]>

Maplewood Software
508 W. 6th Ave, Suite 900
Spokane, WA 99204
(509) 252-3550 ext. 109
www.maplewoodsoftware.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to