0 Replies Latest reply on Apr 9, 2009 6:42 AM by Tentu Polinaidu

    Ajax Calls are not working if the page includes more than on

    Tentu Polinaidu Newbie

      HI ,

      I have to include more than one xhtml files in my controller.xhtml page in the portlet in liferay.

      Here is Controller.xhtml file.

      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:c="http://java.sun.com/jstl/core"
      xmlns:rich="http://richfaces.org/rich">

      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />



      <ui:include src="telephonenumber.xhtml" />
      <ui:include src="quoteConfirmation.xhtml" />

      </ui:composition>

      But the ajax calls in any page of the above two are not working (telephonenumber.xhtml, quoteConfirmation.xhtml) . only submit actions are working.


      If i give only one page telephonenumber.xhtml as default view id for the portlet then ajax calls are working fine.

      But why the ajax calls are not working if give Controller.xhtml as default view id for the portlet.

      Could you please let me know that if you have any solution for the ajax calls to work in the above scenerio.