Sign in to follow this  
binamra

FusionChart V3 not working with trinidad 1.2

Recommended Posts

For having fusioncharts with trinidad When I am adding

<

view-handler>com.sun.facelets.FaceletViewHandler</view-handler> To my existing faces-config.xml trinidad is not working.

error is:-

javax.servlet.ServletException: No RenderingContext	javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)	org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)	org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

root cause

java.lang.IllegalStateException: No RenderingContext	org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:328)	org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)	org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1494)	org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)	com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:594)	com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)	com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)	javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)	org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)	org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs.

Share this post


Link to post
Share on other sites

Hi Binay,

Nice to see you here again. :D

I think it has something to do with the configuration and nothing to do with the Tag library itself.

More precisely, it could be the definition of the view handler for Facelets. Try placing it as a ALTERNATE_HANDLER context param in web.xml.

Please see http://www.mail-archive.com/[email protected]/msg54046.html for more info.

Srividya

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this