dev@jsftemplating.java.net

Facelets and JSF syntax in JSFTEMPLATING

From: Stuart Russell <Stuart.Russell_at_Sun.COM>
Date: Thu, 29 Nov 2007 18:10:10 +0000

hi there

Im hoping someone will help me out .

I have an application using jsftemplating and woodstock components using
the facelets syntax . However , whenever I define a component
within a jsf page ( be it a woodstock or std jsf component )
I get the following exception.
Basically I must have something missing in my app but unfortunately the
example to show how to use facelets is not online anymore
( I get proxy error both from inside sun and from home ).

Can someone please provide me an example of using jsftemplating with
facelets syntax as I am really under pressure to complete this
application .
( BTW: I was using facelets but the ajax portion of dynafaces was
causing me problems at the last stage of the project ).


Any help really appreciated.
Stuart


java.lang.IllegalArgumentException: Could not find type conversion for type "class javax.faces.el.MethodBinding" (value = "sqlReports"
        com.sun.jsftemplating.util.TypeConverter.asType(TypeConverter.java:260)
        com.sun.jsftemplating.component.factory.ComponentFactoryBase.setOption(ComponentFactoryBase.java:169)
        com.sun.jsftemplating.component.factory.ComponentFactoryBase.setOptions(ComponentFactoryBase.java:104)
        com.sun.jsftemplating.component.factory.basic.GenericFactory.create(GenericFactory.java:86)
        com.sun.jsftemplating.component.ComponentUtil.createChildComponent(ComponentUtil.java:397)
        com.sun.jsftemplating.layout.descriptors.LayoutComponent.getChild(LayoutComponent.java:277)
        com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:528)
        com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:543)
        com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:543)
        com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:482)
        com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:520)
        com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:543)
        com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:543)
        com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:543)
        com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:543)
        com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:482)
        com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHandler.java:234)
        com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:201)
        com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
        com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
        com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:94)
        javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
        org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:699)
        org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
        org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)