Quantcast
Channel: SCN : Popular Discussions - SAP Crystal Reports, version for Eclipse
Viewing all articles
Browse latest Browse all 893

Passing a Fields value to the CrystalReportViewer object created in htmlviewerbridge.jsp?

$
0
0

Hi everyone,

 

Is there any way to pass report parameters to OpenDocument, specifically passing a Fields value to the CrystalReportViewer object created in htmlviewerbridge.jsp?

 

I tried to store the Fields object in session, then pass it into the CrystalReportViewer object (using setParameterFields method) right before processHttpRequest is called. However, when I call openDocument.jsp, the Viewer always prompts for the parameters..

 

I'm sure the Fields object is valid, because if I create a CrystalReportViewer object in a different viewReport.jsp file, it accepts the Fields object, doesn't prompt for parameters and works fine. I'm guessing the HTTP Session doesn't make it to htmlviewerbridge.. Can I get around this?

 

Thank you.

 

Tuan

 

Edited by: Tuan Bui on Aug 20, 2008 11:22 PM


Viewing all articles
Browse latest Browse all 893

Trending Articles