swood Posted November 19, 2006 Share Posted November 19, 2006 Try doing in the Link Parameters tab in the screen you are showing in iReport. Code: <textField isStretchWithOverflow="true" hyperlinkType="ReportExecution"> <reportElement x="410" y="4" width="105" height="15"/> <textElement textAlignment="Center"/> <textFieldExpression class="java.lang.String"> "view" </textFieldExpression> <hyperlinkParameter name="_report"> <hyperlinkParameterExpression>"/reports/samples/EmployeeAccounts"</hyperlinkParameterExpression> </hyperlinkParameter> <hyperlinkParameter name="EmployeeID"> <hyperlinkParameterExpression>$F{id}</hyperlinkParameterExpression> </hyperlinkParameter> </textField> If you are hyperlinking back to another report in the server, you don't need to put the full URL like that. ShermanJasperSoft ShermanJasperSoft Link to comment Share on other sites More sharing options...
jerics99 Posted November 20, 2006 Share Posted November 20, 2006 I seem to be close of getting my drill downs to work now. However I did not completely follow you in the previous posting. I am going to try the drilldown to work by using the example with the EmployeeAccounts report (as in your previous example). First of all is the value of the HyperlinkTypes field OK (HyperlinkType=Reference)? If pasting the code of previous posting to the Link Parameters Expression field, what should I call the Link Parameter (Value in Link Parameter Field)? What value should I use for the Hyperlink Reference Expression field (by using the Reference tab)? Cheers! Link to comment Share on other sites More sharing options...
lucianc Posted November 20, 2006 Share Posted November 20, 2006 This discussion is getting even more confusing.. If you want to define a drill down like in the style of the EmployeeAccounts sample (which is recommended, and what Sherman suggested), you'll have toset the hyperlink type to ReportExecutionadd a hyperlink parameter named _report and having "/reports/johnsson3b" as value expressionadd a hyperlink parameter named kpi and having $F{id} as value expressiondon't set any hyperlink reference expression[/ul] HTH,Lucian Link to comment Share on other sites More sharing options...
sarahmei Posted November 21, 2006 Share Posted November 21, 2006 bhaugland wrote:I need to have security in the JasperIntelligence web application. However I want to pass credentials from another web application to the JasperIntelligence so the user is not forced to log on a second time. One way to do this is to write a filter (implements javax.servlet.filter and org.springframework.beans.factory.InitializingBean) that looks at the incoming request and decides whether or not to proceed. This would work if your credentials are contained within a cookie, for example. We did this coming from a RoR web app. Link to comment Share on other sites More sharing options...
tratti Posted April 23, 2007 Share Posted April 23, 2007 how we can authorize anonymous user to see flow.html in the latest versions? Link to comment Share on other sites More sharing options...
Wolle Posted January 23, 2008 Share Posted January 23, 2008 Hallo, I'd like to give over parameters and login values via URL for viewing an report as pdf-output. Unfortunally the login values doesn't work and the js creates an access dénied error My URL construct looks like this: http://myHost:8080/jasperserver/flow.html?_flowId=viewReportFlow&reportUnit=/reports/<myReport>&decorate=no&output=pdf&<para1>=<value1>&<para2>=<value2>&j_acegi_security_check?&j_username=jasperadmin&j_password=<myPwd> What's the mistake ? Which is the correct syntax for building a corresponding URL ?Where is a description about the URL parameters ? Thx for help Wolle Link to comment Share on other sites More sharing options...
Wolle Posted January 23, 2008 Share Posted January 23, 2008 Hallo, I'd like to give over parameters and login values via URL for viewing an report as pdf-output. Unfortunally the login values doesn't work and the js creates an access dénied error My URL construct looks like this: http://myHost:8080/jasperserver/flow.html?_flowId=viewReportFlow&reportUnit=/reports/<myReport>&decorate=no&output=pdf&<para1>=<value1>&<para2>=<value2>&j_acegi_security_check?&j_username=jasperadmin&j_password=<myPwd> What's the mistake ? Which is the correct syntax for building a corresponding URL ?Where is a description about the URL parameters ? Thx for help Wolle Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now