This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes Crystal Report in JSF not refreshing with new parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Crystal Report in JSF not refreshing with new parameters" Watch "Crystal Report in JSF not refreshing with new parameters" New topic
Author

Crystal Report in JSF not refreshing with new parameters

Jen Gordan
Greenhorn

Joined: Mar 12, 2010
Posts: 1
I am trying to show a Crystal Report from my JSF program using this code in my jsp:
<hx:scriptCollector id="scriptCollector1">
<h:form id="form1" styleClass="form">
<bocrv:reportPageViewer
reportSource="#{reportWrapper4.reportSource}"
viewerName="CrystalViewer"
allowDatabaseLogonPrompting="false"
databaseLogonInfos="#{pc_myReport.conInfo}"
allowParameterPrompting="false"
parameterFields="#{pc_myReport.param}"></bocrv:reportPageViewer>
</h:form></hx:scriptCollector>
The first time the report runs the parameters are set fine and the report shows correctly. When I close the report and select new parameters and run the report again, the report runs with my old parameters. Has anyone else run into this problem?

Thanks so much.
Jen
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Crystal Report in JSF not refreshing with new parameters
 
Similar Threads
Configure Tomcat with Crystal Report
Apache Commons Validator: Working With Arrays
Crystal Report in JSF
Open crystal report in JSP
Help with <crviewer:viewer> tag