I have to include more than one xhtml files in my controller.xhtml page in the portlet in liferay.
Here is Controller.xhtml file.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<ui:include src="telephonenumber.xhtml" />
<ui:include src="quoteConfirmation.xhtml" />
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.