0 Replies Latest reply on Aug 16, 2007 12:31 PM by John X

    n00b seeking for help...

    John X Newbie

      Hi all,

      I'm kinda new to Richfaces. I've read the developer's guide and followed some of the steps to get things in place, however, I am not having any luck on getting the desired widget on the screen.

      Here is the situation: I currently have an app running on Spring/MyFaces/Tomahawk/Shale. All the URLs look like xxx.faces.

      1) I added the taglib <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>

      2) I added the following jars to WEB-INF\lib

      3) Inside web.xml, I added the following lines:

       <display-name>Ajax4jsf Filter</display-name>
       <servlet-name>Faces Servlet</servlet-name>
       <servlet-name>Faces Servlet</servlet-name>
       <servlet-name>Faces Servlet</servlet-name>

      4) in my jsp, I added <rich:inputNumberSlider value="50"/>

      That's it according to the guide. I am getting 2 errors...

      1) a null pointer on the first url hit with a .faces extension

      ERROR [http-8800-Processor25] PhaseListenerManager.informPhaseListenersAfter(94) | Exception in PhaseListener RENDER_RESPONSE(6) afterPhase
       at org.apache.myfaces.custom.redirectTracker.RedirectTrackerManager.getInstance(RedirectTrackerManager.java:168)
       at org.apache.myfaces.custom.redirectTracker.RedirectTrackerVariableResolver.resolveVariable(RedirectTrackerVariableResolver.java:47)
       at org.apache.myfaces.custom.security.SecurityContextVariableResolver.resolveVariable(SecurityContextVariableResolver.java:45)
       at org.ajax4jsf.context.AjaxContext.getCurrentInstance(AjaxContext.java:97)
       at org.ajax4jsf.event.AjaxPhaseListener.afterPhase(AjaxPhaseListener.java:75)

      2) javascript error when I hit the jsp with the rich:inputNumberSlider tag. It seems that it did not included the required js files in the header

      I know i'm probably missing something along the way, however, I pretty much followed the installation/dev guide step by step. Any help would be greatly appreciated!