tasel / jsfinspector

JSFInspector is a small tool library aiming to provide helpful information during development of JSF applications.
http://tasel.github.io/jsfinspector/
3 stars 1 forks source link

jsfinspector usage issue with PrimeFaces showcase #6

Open sudheerj opened 8 years ago

sudheerj commented 8 years ago

When I tried to use jsfinspector on PrimeFaces showcase there is no information display about JSF Component Tree and life cycle.

image

The project stage configured as Development and excluded jquery bundle as follows

<context-param>
        <param-name>javax.faces.PROJECT_STAGE</param-name>
        <param-value>Development</param-value>
    </context-param>
    <context-param>
        <param-name>de.thomasasel.jsfinspector.SUPPRESS_JQUERY</param-name>
        <param-value>true</param-value>
    </context-param> 
Rapster commented 8 years ago

@sudheerj if you're using it in the showcase example, I recommend you to read this post: http://stackoverflow.com/questions/37004516/webservlet-url-pattern-ending-by-jsfinspector Servlet TreeResultServlet is provided in jsfinspector, but since your url is ending by /jsfinspector and not starting with it: you must declare a WebFilter.

I have made some changes by myself that I did not push yet, I will probably fork jsfinpector to make them available (such as display phases name, not displayin all components name)

bbiagi commented 7 years ago

@sudheerj, Rapster did either of you get this working with primefaces? If so can you share your filter. I have a rather large existing filter that I am trying to add the jsfinspector exception to but the above reference is not very clear.