1 Reply Latest reply on Dec 27, 2011 3:48 AM by Michael Heinen

    Richfaces 4.1 A4J.AJAX.onError or jsf.ajax.addOnError?

    Michael Heinen Newbie

      I am right now migrating from richfaces 3.3.3 to 4.1.


      The 3.3.3 Ajax4jsf handlers are not working anymore in 4.1



      A4J.AJAX.onError=function(req,status,message) {...}


      Now I tried jsf.ajax.addOnError(myEventHandler) but this is also not working.

      It throws a Javascript error on every page: "Error: 'jsf' is undefined".


      How do I get this working with JSF 2 (myFaces) and Richfaces 4.1 ?