1 Reply Latest reply on Aug 25, 2014 6:25 AM by david delbecq

    ajax issue when migrating to richfaces 4

    david delbecq Newbie

      Hello,

       

      i am migrating an old application to richfaces 4 / JSF 2.2 and other more modern libraries

       

      Now the the jsf pages are finally showing without errors, i have an issue with my a4j:commandlinks

       

      I have this kind of code a quite a lot of places in the page, and they all show the same error, using a4j:log

       

      <a4j:commandLink immediate="true" action="#{hrActions.addContract}"

                              reRender=":#{parentClientId}:a4jContract" limitToList="true">

                              <h:graphicImage

                                  url="/hr/pictures/icon_create.gif"

                                  style="border:none" alt="create" />

                          </a4j:commandLink>

       

      The message i get when i click the commandlink is

       

      warn [16:39:38.717]: richfaces.queue: ajax submit error: $.extend is not a function

       

      warn [16:39:41.250]: richfaces.queue: ajax submit error: $.extend is not a function

      warn [16:39:43.923]: richfaces.queue: ajax submit error: $.extend is not a function



      Any idea where this can come from? I tried using a <h:commandLink + <f:ajax instead, and i get the exact same message!

      Please note that i am using richfaces and tomahawk component on the same page. Is there a known conflict between those?