Hi,<br />
<br />
i have put the whole WebViewExample war-files in a spring application, and changed the web.xml file and so on.. Now i can deploy the whole thing as one web application. And use spring security on urls.<br />
<br />
I have a dashboard in my application, where i have used iFrames to show different reports. Works good. <br />
<br />
But now i want to pass a string parameter from my spring application to birt report viewer, as i want to send the loggedin-username to the birt report when a report is called. I dont want to set the username as an GET-parameter to the report, as the users then can see in the html-code and change the username-variables to fake their userids. I dont want to use this:<br />
<a class='bbc_url' href='
http://localhost:8080/reports/run?__report=report/test.rptdesign'>http://localhost:8080/reports/run?__report=report/test.rptdesign</a><strong class='bbc'>&username=myusername</strong><br />
<br />
(I dont neither want to use the taglib option to specify the report in my jsp, as i i love the ajax functionality and the "please wait"-message when the report is loading.)<br />
<br />
How can i set the username/variables in the report-viewers applicationcontext/reportcontext or session (or any other ways for that matter?) from a custom java application/jsp?<br />
<br />
in the report viewer, i want to catch this userid-variable, to do further processing and validate. I was thinking catching the variable in for example the "onPageStart". Is this possible ? any example.<br />
<br />
i really appreciate all help.