Thanks Mike, I'll look into my configuration.
The component comes with a faces-config.xml file, which is being read
during deploy, along with my others.
Perhaps JSF can't find the class that it defines?
"com.crystaldecisions.report.web.jsf.ViewerHtmlRenderer"
The class is included in that same jar though, which is in WEB-INF/lib/
*Sigh* I'm afraid this is the kind of problems you get used to when
using Crystal JRC. :(
faces-config.xml:
<?xml version="1.0"?>
<!--
Copyright (c) 2005 Business Objects. All rights reserved.
-->
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
"http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
<!-- =========== FULL CONFIGURATION FILE
================================== -->
<faces-config>
<component>
<component-type>CrystalReports.UIReportPageViewer</component-type>
<component-class>
com.crystaldecisions.report.web.jsf.UIReportPageViewer
</component-class>
</component>
<render-kit>
<renderer>
<component-family>CrystalReports.DHTMLViewer</component-family>
<renderer-type>CrystalReports.ViewerHtmlRenderer</renderer-type>
<renderer-class>
com.crystaldecisions.report.web.jsf.ViewerHtmlRenderer
</renderer-class>
</renderer>
</render-kit>
<application>
<locale-config>
<default-locale>en</default-locale>
<supported-locale>en</supported-locale>
<supported-locale>de</supported-locale>
<supported-locale>es</supported-locale>
<supported-locale>fr</supported-locale>
<supported-locale>it</supported-locale>
<supported-locale>ja</supported-locale>
<supported-locale>ko</supported-locale>
<supported-locale>nl</supported-locale>
<supported-locale>pt</supported-locale>
<supported-locale>zh</supported-locale>
<supported-locale>zh_TW</supported-locale>
<supported-locale>zh_HK</supported-locale>
<supported-locale>zh_MO</supported-locale>
<supported-locale>zh_MY</supported-locale>
</locale-config>
</application>
</faces-config>
Thanks again for replying, gives me an idea what kind of problem to look
for.
Regards,
Jeff Bischoff
Kenneth L Kurz & Associates, Inc.
Mike Kienenberger wrote:
No, I'd say that it means that you've got it misconfigured somehow.
It's either missing a faces-config.xml entry or a view handler entry
or something.
On 9/14/06, Jeff Bischoff <[EMAIL PROTECTED]> wrote:
Can someone please confirm the meaning of this error message for me.
Does this mean that the Crystal Reports JSF componenets are incompatible
with the MyFaces renderer?
---------
WARN [HtmlRenderKitImpl] Unsupported component-family/renderer-type:
javax.faces.ViewRoot/CrystalReports.ViewerHtmlRenderer
---------
I get that error when trying to view a page with the Crystal Reports
viewer tag. A blank page is displayed. There are several other similar
lines in the log, except they say "No Renderer found for component"...
My Page:
<%@ taglib
uri="http://www.businessobjects.com/jsf/crystalreportsviewers"
prefix="bocrv"%>
<bocrv:reportPageViewer reportSource="#{report.reportSource}"
parameterFields="#{report.fields}"
databaseLogonInfos="#{report.connections}"
displayGroupTree="false"
displayToolbarToggleTreeButton="false"
allowDatabaseLogonPrompting="false"
allowParameterPrompting="false"
displayToolbarLogo="false"
displayToolbarViewList="false"/>
Thanks for any response!
Regards,
Jeff Bischoff
Kenneth L Kurz & Associates, Inc.