2 Replies Latest reply on Sep 13, 2007 1:32 AM by Tarun Kumar

    Ajax4j Tags Not working

    Tarun Kumar Newbie

      Hi,

      I am trying to run ajax4j + Facelets + MyFaces on JBoss 4.2.1
      After doing all configurations, I am not able to run Ajax4j tags in my xhtml page. These are getting rendered as it is without any processing.

      Here is the "View Source" of my xhtml page after rendering in browser :

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
      <html xmlns="http://www.w3.org/1999/xhtml" xmlns:a4j="https://ajax4jsf.dev.java.net/aja">
      <a4j:page>

      Account Details




      <h3>Enter the Account number and tab out for getting further
      information</h3>Account Number:
      <a4j:support event="onblur" immediate="true" reRender="BankName, CustName, BranchName, OpenDate, ClosingBalance, Address, EmailId, PhoneNumber"></a4j:support>
      <a4j:status startText="Request sent to the Server" stopText="Request is completed">
      </a4j:status>




      Bank Details:Bank Name:
      Customer Name
      Branch Name
      Open Date
      Closing Balance



      Contact Details:Address
      EMail Id
      Phone Number



      <!-- MYFACES JAVASCRIPT -->

      <!--

      function getScrolling()
      {
      var x = 0; var y = 0;if (self.pageXOffset || self.pageYOffset)
      {
      x = self.pageXOffset;
      y = self.pageYOffset;
      }
      else if ((document.documentElement && document.documentElement.scrollLeft)||(document.documentElement && document.documentElement.scrollTop))
      {
      x = document.documentElement.scrollLeft;
      y = document.documentElement.scrollTop;
      }
      else if (document.body)
      {
      x = document.body.scrollLeft;
      y = document.body.scrollTop;
      }
      return x + "," + y;
      }

      //-->


      </a4j:page>



      Can anybody suggest what could be the reason for ajax4j tags not getting processed ?