neetikamittal Posted August 3, 2006 Share Posted August 3, 2006 Hi Admin/Frends, I give reference to a servlet and also give the parameter value also .E.g"http://localhost:8080/myapp/subreport1?emp_id=2"It is working fine but this is hard coding of parameter passing to a subreport.I want to generate subreports based on the value of the textfield which I hyperlinked to my subreport.I have one textfield named $F{emp_id}and in its hyperlinked reference expression I tried to give "http://localhost:8080/myapp/subreport1?emp_id=$F{emp_id}" so that when masterreport runs whatever value it has in this "emp_id " field ,I can pass the same value to subreport to generate data.but its showing this http://localhost:8080/myapp/select1.do?emp_id=((java.lang.Integer)field_emp_id.getValue()) I was expecting to get the runtime value of emp_id field of masterreport. One can say on the fly subreport generation . Can anybody tried this thing.Plz help me in this as soon as possible. here is my previous queryhttp://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=view&id=382&catid=9Post edited by: neetikamittal, at: 2006/08/02 20:50 Link to comment Share on other sites More sharing options...
whizzard Posted June 19, 2007 Share Posted June 19, 2007 i have the same problem. Have you solved this? 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