myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From parthiv pradhan <parthiv.prad...@gmail.com>
Subject Not able to use tr validators/convertors with facelets
Date Sat, 04 Jun 2011 03:52:49 GMT
Hi All,

I am having this strange problem. I am able to use all trinidad components
in my project where I am using facelets. But when I use any of the trinidad
validator/convertor tag I get the below error while running the xhtml file.

any help on this would be very useful!!

thanks

Parthiv
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
(2011-06-04 08:52:10,705) ERROR org.ajax4jsf.webapp.BaseXMLFilter -
Exception in the filter chain
javax.servlet.ServletException: org.apache.myfaces.
trinidadinternal.facelets.TrinidadConverterHandler.<
init>(com.sun.facelets.tag.TagConfig)
 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:341)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
 at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
 at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
 at
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
 at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
 at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
 at
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodException: org.apache.myfaces.
trinidadinternal.facelets.TrinidadConverterHandler.<
init>(com.sun.facelets.tag.TagConfig)
 at java.lang.Class.getConstructor0(Unknown Source)
 at java.lang.Class.getConstructor(Unknown Source)
 at
com.sun.facelets.tag.AbstractTagLibrary$HandlerFactory.createHandler(AbstractTagLibrary.java:109)
 at
com.sun.facelets.tag.AbstractTagLibrary.createTagHandler(AbstractTagLibrary.java:533)
 at
com.sun.facelets.tag.CompositeTagLibrary.createTagHandler(CompositeTagLibrary.java:79)
 at com.sun.facelets.compiler.TagUnit.createFaceletHandler(TagUnit.java:48)
 at
com.sun.facelets.compiler.TextUnit.createFaceletHandler(TextUnit.java:76)
 at
com.sun.facelets.compiler.CompilationUnit.getNextFaceletHandler(CompilationUnit.java:69)
 at com.sun.facelets.compiler.TagUnit.getNextHandler(TagUnit.java:52)
 at
com.sun.facelets.tag.AbstractTagLibrary$ComponentConfigWrapper.getNextHandler(AbstractTagLibrary.java:152)
 at com.sun.facelets.tag.TagHandler.<init>(TagHandler.java:41)
 at com.sun.facelets.tag.MetaTagHandler.<init>(MetaTagHandler.java:34)
 at
com.sun.facelets.tag.jsf.ComponentHandler.<init>(ComponentHandler.java:74)
 at
com.sun.facelets.tag.jsf.html.HtmlComponentHandler.<init>(HtmlComponentHandler.java:31)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
 at java.lang.reflect.Constructor.newInstance(Unknown Source)
 at
com.sun.facelets.tag.AbstractTagLibrary$UserComponentHandlerFactory.createHandler(AbstractTagLibrary.java:234)
 at
com.sun.facelets.tag.AbstractTagLibrary.createTagHandler(AbstractTagLibrary.java:533)
 at
com.sun.facelets.tag.CompositeTagLibrary.createTagHandler(CompositeTagLibrary.java:79)
 at com.sun.facelets.compiler.TagUnit.createFaceletHandler(TagUnit.java:48)
 at
com.sun.facelets.compiler.TextUnit.createFaceletHandler(TextUnit.java:76)
 at
com.sun.facelets.compiler.CompilationUnit.getNextFaceletHandler(CompilationUnit.java:69)
 at com.sun.facelets.compiler.TagUnit.getNextHandler(TagUnit.java:52)
 at
com.sun.facelets.tag.AbstractTagLibrary$ComponentConfigWrapper.getNextHandler(AbstractTagLibrary.java:152)
 at com.sun.facelets.tag.TagHandler.<init>(TagHandler.java:41)
 at com.sun.facelets.tag.MetaTagHandler.<init>(MetaTagHandler.java:34)
 at
com.sun.facelets.tag.jsf.ComponentHandler.<init>(ComponentHandler.java:74)
 at
com.sun.facelets.tag.jsf.html.HtmlComponentHandler.<init>(HtmlComponentHandler.java:31)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
 at java.lang.reflect.Constructor.newInstance(Unknown Source)
 at
com.sun.facelets.tag.AbstractTagLibrary$UserComponentHandlerFactory.createHandler(AbstractTagLibrary.java:234)
 at
com.sun.facelets.tag.AbstractTagLibrary.createTagHandler(AbstractTagLibrary.java:533)
 at
com.sun.facelets.tag.CompositeTagLibrary.createTagHandler(CompositeTagLibrary.java:79)
 at com.sun.facelets.compiler.TagUnit.createFaceletHandler(TagUnit.java:48)
 at
com.sun.facelets.compiler.TextUnit.createFaceletHandler(TextUnit.java:76)
 at
com.sun.facelets.compiler.CompilationUnit.getNextFaceletHandler(CompilationUnit.java:69)
 at com.sun.facelets.compiler.TagUnit.getNextHandler(TagUnit.java:52)
 at
com.sun.facelets.tag.AbstractTagLibrary$ComponentConfigWrapper.getNextHandler(AbstractTagLibrary.java:152)
 at com.sun.facelets.tag.TagHandler.<init>(TagHandler.java:41)
 at com.sun.facelets.tag.MetaTagHandler.<init>(MetaTagHandler.java:34)
 at
com.sun.facelets.tag.jsf.ComponentHandler.<init>(ComponentHandler.java:74)
 at
com.sun.facelets.tag.jsf.html.HtmlComponentHandler.<init>(HtmlComponentHandler.java:31)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
 at java.lang.reflect.Constructor.newInstance(Unknown Source)
 at
com.sun.facelets.tag.AbstractTagLibrary$UserComponentHandlerFactory.createHandler(AbstractTagLibrary.java:234)
 at
com.sun.facelets.tag.AbstractTagLibrary.createTagHandler(AbstractTagLibrary.java:533)
 at
com.sun.facelets.tag.CompositeTagLibrary.createTagHandler(CompositeTagLibrary.java:79)
 at com.sun.facelets.compiler.TagUnit.createFaceletHandler(TagUnit.java:48)
 at
com.sun.facelets.compiler.TextUnit.createFaceletHandler(TextUnit.java:76)
 at
com.sun.facelets.compiler.CompilationUnit.getNextFaceletHandler(CompilationUnit.java:69)
 at com.sun.facelets.compiler.TagUnit.getNextHandler(TagUnit.java:52)
 at com.sun.facelets.tag.TagHandler.<init>(TagHandler.java:41)
 at com.sun.facelets.tag.jsf.core.ViewHandler.<init>(ViewHandler.java:63)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
 at java.lang.reflect.Constructor.newInstance(Unknown Source)
 at
com.sun.facelets.tag.AbstractTagLibrary$HandlerFactory.createHandler(AbstractTagLibrary.java:109)
 at
com.sun.facelets.tag.AbstractTagLibrary.createTagHandler(AbstractTagLibrary.java:533)
 at
com.sun.facelets.tag.CompositeTagLibrary.createTagHandler(CompositeTagLibrary.java:79)
 at com.sun.facelets.compiler.TagUnit.createFaceletHandler(TagUnit.java:48)
 at
com.sun.facelets.compiler.TextUnit.createFaceletHandler(TextUnit.java:76)
 at
com.sun.facelets.compiler.CompilationUnit.getNextFaceletHandler(CompilationUnit.java:69)
 at com.sun.facelets.compiler.TagUnit.getNextHandler(TagUnit.java:52)
 at com.sun.facelets.tag.TagHandler.<init>(TagHandler.java:41)
 at
com.sun.facelets.tag.ui.CompositionHandler.<init>(CompositionHandler.java:61)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
 at java.lang.reflect.Constructor.newInstance(Unknown Source)
 at
com.sun.facelets.tag.AbstractTagLibrary$HandlerFactory.createHandler(AbstractTagLibrary.java:109)
 at
com.sun.facelets.tag.AbstractTagLibrary.createTagHandler(AbstractTagLibrary.java:533)
 at
com.sun.facelets.tag.CompositeTagLibrary.createTagHandler(CompositeTagLibrary.java:79)
 at com.sun.facelets.compiler.TagUnit.createFaceletHandler(TagUnit.java:48)
 at
com.sun.facelets.compiler.CompilationUnit.getNextFaceletHandler(CompilationUnit.java:69)
 at
com.sun.facelets.compiler.NamespaceUnit.createFaceletHandler(NamespaceUnit.java:38)
 at
com.sun.facelets.compiler.CompilationManager.createFaceletHandler(CompilationManager.java:261)
 at com.sun.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:244)
 at com.sun.facelets.compiler.Compiler.compile(Compiler.java:104)
 at
com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:192)
 at
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:141)
 at
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:93)
 at
com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503)
 at
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553)
 at
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
 at
org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
 at
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
 at
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
 at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
 at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
 at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
 ... 30 more

Mime
View raw message