Sorry for bad formatting of original post... please transpose html character codes with their proper < > in your mind... I tried to change them for forum validation but obviously it didn't work properly (validator didn't like the bocrv tag for some reason).
Shameless bump for new work day :(
Ok I got it working if anyone is interested.
Really the problem was just that I didn't full understand how to setup a taglib in facelets.
You need to create the xyz.taglib.xml descriptor file and then reference it from the web.xml and all is well :D
Hi Al, Thanks for the post. I am just starting an effort to use Crystal Reports with facelets and any help you can provide to help get me jump started would be much appreciated.
Hi Al. I created a crystal-report.taglib.xml:
But I got an exception:
SEVERE: Error Rendering View[/abc.xhtml]
javax.faces.FacesException: Expression Error: Named Object: com.crystaldecisions.report.web.jsf.JSFViewerTag not found.
I have put webreporting-jsf.jar and webreporting.jar in WEB-INF/lib folder so JSFViewerTag class is there.
Do you know what I have done wrong? Thanks.
I'm having the same problem. Did you find the answer?
could any one pelase share the code. i am getting blank report.
Here is the setup for configuring reportPageViewer (JSF Reporting Component) to work with JSF and Facelets
1. crystalreports-jsf.jar does not come with a facelets taglib - You will need to create one such as:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE facelet-taglib PUBLIC
"-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
Place this inside WEB-INF
2. Modify your web.xml to read the new taglib.
3. Modify the faces-config.xml file to support the new components:
You may also need to add the localization to the application tag in faces-config, such as:
3. Add the required jars to your classpath (This will vary based upon project setup and features required, but at minimum, it will need: CrystalCommons2, Crystal Runtime, WebReporting-jsf, Webreporting )
This should allow JSF to recognize the Crystal Report tag and you can then pass in a IReportSource via an EL expression.
Hope this helps as I found getting information on this topic to be a little sparse.
Hello. I know this topic is a little old but maybe someone can help my.
I'm using Cristal in my web app JSF(IceFaces) and JBoss Cristal working fine (thanks for this topic) but I have a little problem I want to display my report (all report page) on one page. I don’t see any way how to do this using this tag.
I'm asking here because you resolve all problems with configuration (which wasn't simple) and maybe already someone resolve my problem.
I followed all the steps, yet my facelet redered as blank, no error.
Am I missing any configuration.