1 Reply Latest reply on Apr 16, 2008 8:58 PM by Stan Silvert

    RichFacesClient Ajax4jsfClient - inconsistent

    Tim Evers Master

      I was working with the RichFacesClient but was having a few issues and the examples I'd been looking at were using the Ajax4jsfClient so I thought.... OK, I'll switch over and see if it makes a difference(I don't really expect it to but...hey I'm trying everything at the moment!!!)

      Well, I did this and I get a class not found exception

      java.lang.NoClassDefFoundError: org/ajax4jsf/framework/renderer/AjaxRendererUtils
       at org.jboss.jsfunit.richfaces.Ajax4jsfClient.buildEventOptions(Ajax4jsfClient.java:239)

      So, I had a look and it appeares that the Ajax4jsfClient is referring to the ?old? location for the AjaxRendererUtils and AjaxContainerRender...I think.

      Compare the imports from RichFacesClient and Ajax4jsfClient

      import org.ajax4jsf.renderkit.AjaxContainerRenderer;
      import org.ajax4jsf.renderkit.AjaxRendererUtils;

      import org.ajax4jsf.framework.renderer.AjaxContainerRenderer;
      import org.ajax4jsf.framework.renderer.AjaxRendererUtils;

      Is this right? Cause I can't find the framework package? Maybe this is just a relatively new move done in RichFaces 3.2.0 or something?