I've been trying to solve one tricky problem. How does one pass a parameter, say, an integer from jsf page to the actual bi report?
In more detail:
[jsf page]---backing bean takes parameter(an id)---?--- bi report with parameter input(id)
So far, I tried one approach, which simply was using Javascript to pass the value to the input field and 'click' the search button on the page where bi report is inserted via iframe. The obstacle was same domain policy, couldn't get/set the insides of iframe.
Is there any way that a parameter can be passed to BI report?
Full scenario:
- User selects a contract
- Upon selection, the id of contract is stored in variable in managed bean
- When the user clicks the "Info Sheet" button, a new page is loaded with iframe
- iframe contains link to different domain
- page with BI Report is loaded and there is the input field for contract id that actually needs to be already passed from managed bean.
Thanks in advance!