2 Replies Latest reply on Aug 24, 2011 12:04 AM by aareshchanka

    Seam-Richfaces-JBoss - A4J is Undefined

      Hi there,


      I've got a project running Richfaces 3.3.0GA, Seam 2.0.2SP1 on JBoss 4.2.2 AS. I created a test project to use A4J and Richfaces to have a datatable, but with the ability to click edit, and have a new row appear underneath with edit controls. This worked perfectly. I went to put this in the main project, which has a lot of stuff in it already, lots of Richfaces controls, but no ajax functionality.


      When I put my code in and ran it in Firefox, it throws a Javascript error - A4J is Undefined this is on the A4J.AJAX.Submit command. This is preventing me from doing what I want to do, I've checked that I'm using the same version of Richfaces and Seam as the test project, but still it doesn't work.


      Any ideas or solutions would be greatly appreciated. I've had this problem once before, and the only solution was to recreate the project. But this time I can't recreate it as we have a lot of people working on it, and it's getting painful creating new projects each time a problem comes up!


      Thanks,


      Chris