marciofermino Posted September 11, 2007 Share Posted September 11, 2007 NetBeans + Jasper + Ireport Friends I have a report and one sub-report. Into the ireport when execute the report the ireport he asks a parameter & click em use parameter standard. The report executes. Inside of the NetBeans uses the code: Code:temp_contatosDataProvider.close(); Map fillParams = new HashMap(); try { fillParams.put ("LogoURL", getExternalContext().getResource("/resources/images/logo.jpg"«»)); getApplicationBean1().jasperReport ("rel_contatos", "text/html", getSessionBean1().getTemp_contatosRowSet(), fillParams); } catch (Exception e) { log("Exception generating report", e); error("Exception generating report: " + e); } The report is run and the sub-report not to appear ?? "..... and report the ireport he asks a parameter & click em use parameter standard ??????" marciofermino2003@hotmail.com skype marciofermino Link to comment Share on other sites More sharing options...
codyjasperForge Posted September 11, 2007 Share Posted September 11, 2007 Are you passing parameters to subreport? Does subreport have 'Print when expression'? Does subreport table of query have data in it? These could be reasons for not seeing subreport. 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