Hi There !
Use Case Description:
------------------------
I have a report as
JSP and in this JSP I have one "Select Job" button and few dropdowns into the "Filter" section of this report.
When user clicks on "Select Job" button a popup window of "Job List" opens from where user can filter desired "Job" over which he/she wants to generate report.
Problem Description:
-----------------------
In order to capture selected filters I have defined Javascript function: "captureDropDownSelectedValues(filters)" not only in report JSP but also in "Job List" JSP which appears in popup window .
Please note that the name and prototype of "captureDropDownSelectedValues(filters)" is same in both JSPs.
Now issue here is that when I click "Select Job" button in report JSP & configures filters there then it shows me "Job List" JSP perfectly fine and captures filters properly but the same is not happening in report JSP...I mean when I set filters in report JSP and click "Generate Report" then in order to capture report filter values I am expecting that browser should call report's "captureDropDownSelectedValues(filters)" function whereas browser is calling "captureDropDownSelectedValues(filters)" function of "Job List" JSP page...I verified this in "Firebug".
Any idea why is so?
Gajendra