Hi,
I am on jdev 11.1.2.4.
I've followed below link from @"Sameh Nassar" to call jasper report from adf page.
http://sameh-nassar.blogspot.co.uk/2012/12/using-jasper-report-in-adf-application.html
To open report in new window I've done same as suggested in the post
<!-- you can insert inside button which will run the report af:clientListener which call javascript method to open the report in new window
af:commandButton text="Run Report" id="cb1" action="#{jasper.runReportAction}">
af:clientListener type="action" method="newWindow"/>
/af:commandButton>
and in your jsp page and this javascript method:
function newWindow()
{
document.getElementById("f1").target = "_blank;targetfeatures=toolbar=no location=no directories=no menubar=no";
}
all working fine
My issue is, the command button gets disabled after calling the report and I can't run the same report with different parameters.
any ideas, how can I keep command button enabled after calling the method?
thanks