Hello,

I'm trying to use JSF RI within an OSGi environment (Equinox) which embeds 
Tomcat 5.5. The latter is started using facilities of Spring DM.

I provision the container with necessary OSGi bundles for JSF RI 1.2.08 
(bundles from SpringSource repository) and create a Web bundle containing a JSF 
Web application.

My JSF pages uses standard JSF taglibs and expressions like that:

<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>

<f:view>
    <html>
        <body lang="fr">
            <h:outputText value="Id" /> Test
        </body>
    </html>
</f:view>

Initializing works correctly but I have an exception when trying to load page:

org.apache.jasper.JasperException: Unable to convert string "Id" to class 
"javax.el.ValueExpression" for attribute "value": Property Editor not 
registered with the PropertyEditorManager
        at 
org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:884)
        at 
org.apache.jsp.jsp.contacts_jsp._jspx_meth_h_005foutputText_005f0(contacts_jsp.java:136)
        at 
org.apache.jsp.jsp.contacts_jsp._jspx_meth_f_005fview_005f0(contacts_jsp.java:107)
        at org.apache.jsp.jsp.contacts_jsp._jspService(contacts_jsp.java:68)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)

I think that it's a classloading problem but I need some help to find out where 
it comes from.

I can provide a complete workspace to test if necessary...

Thanks very much for your help!!
Thierry




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to