4 Replies Latest reply on Sep 15, 2008 1:07 PM by johnboy

    Newbie Question.

    johnboy

      I was successfully using A4j and Richfaces in 3.2.0GA. I just installed 3.2.2 GA, but I dont get any a4j functionality.

      "A4J is not defined" in the javascript log using firebug and firefox 3.0.1.

      I should note I am using JBOSS portal 2.6.5SP1.

      Cant find the updated doc right now for 3.2.2...


      ANy input would be helpful.

        • 1. Re: Newbie Question.

          Probably, it is a cache problem. Try ctrl-F5 in your browser.

          • 2. Re: Newbie Question.
            johnboy

            Thank you soo much for the answer.

            Tried it and still cant get the a4j stuff to work with 3.2.2 GA.

            Here is the full error. I know it will be something silly.

            A4J is not defined
            onclick(click clientX=125, clientY=237)B1iVlAdP...Agg%3D%3D (line 2)
            [Break on this error] A4J.AJAX.Submit("_viewRoot", "jb...?javax.portlet.faces.DirectLink=true"});

            How is A4J defined in the jars? Same path?

            • 3. Re: Newbie Question.
              alexsmirnov

              This error mean Ajax javascript library was not loaded.
              Do you change portletbridge version too? Jboss portletbridge beta4 have been released together with RichFaces 3.2.2.GA.
              Also, take a look on Westley article about portal configuration at http://www.infoq.com/articles/jsf-ajax-seam-portlets-pt-1 , as far as bridge documentation : http://www.jboss.org/portletbridge/

              • 4. Re: Newbie Question.
                johnboy

                Your right I did not update the Bridge also. I was using B3.

                Once I updated to B4 almost everything worked. I am using the Progress Bar from Rich as a key component in what I am doing and this fails. with 3.2.2 and Bridge B4. Everything else seems to be OK.

                SIgh!...

                I will check out the doc you suggested.