andysusanto Posted December 21, 2006 Share Posted December 21, 2006 hai, i would like to create a parameter that will prompt when user access from html file ?, how to do that in JasperReport because in Jasper Parameter has a flag prompt but when i check that, the parameter can not prompt in html file. how to fix that ? tia, Link to comment Share on other sites More sharing options...
reolca Posted December 22, 2006 Share Posted December 22, 2006 I think that don't have a automatic way to do that in this case (through the isForPrompt attribute). I do like this: the parameter value is given by the user through a form in the html page. When the user submit the form, then the servlet retrives the value and adds it to the parameters map that you pass to the method JasperFillManager.fillReport(stream, parameterMap). Link to comment Share on other sites More sharing options...
andysusanto Posted December 22, 2006 Author Share Posted December 22, 2006 hai, yes your ide already i implement, but i need to prompt a parameter, because user can add without buzz a programmer. if you try BIRT eclipse, you can see that report show in html but it can prompt a parameter. i think this feature my be can be include in JR next release. 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