Foros de discusión
related to ajax call on sumbit of save button
deepthi narendula, modificado hace 11 años.
related to ajax call on sumbit of save button
Junior Member Mensajes: 39 Fecha de incorporación: 26/04/12 Mensajes recientes
Hi friends,
I have developed twoportlet in liferay. I used inter portlet communication in this example. What i am doing is:- I have one search portlet in which i am having one textfield for search. When i click on search button it fetches the data from the database and display that data using search-contained in another portlet.
Now what i want is when i click on the search button then the page should not be refresh(i.e i wish to use the concept of AJAX) and data should be displayed on the other portlet.How to do it....pls help me out.....
Thanks & Regards
N.Deepthi.
I have developed twoportlet in liferay. I used inter portlet communication in this example. What i am doing is:- I have one search portlet in which i am having one textfield for search. When i click on search button it fetches the data from the database and display that data using search-contained in another portlet.
Now what i want is when i click on the search button then the page should not be refresh(i.e i wish to use the concept of AJAX) and data should be displayed on the other portlet.How to do it....pls help me out.....
Thanks & Regards
N.Deepthi.
Rahul Sharma, modificado hace 11 años.
RE: related to ajax call on sumbit of save button
Junior Member Mensajes: 59 Fecha de incorporación: 11/01/12 Mensajes recientes
Hi,
You need to use serveResource method and some ajax calls,serveResource will be handling all the logic controls you want to set,this link "http://www.excession.org.uk/blog/liferay-and-ajax.html" will surely help you in creating the complete code.
You need to use serveResource method and some ajax calls,serveResource will be handling all the logic controls you want to set,this link "http://www.excession.org.uk/blog/liferay-and-ajax.html" will surely help you in creating the complete code.
Sushil Kumar Saini, modificado hace 11 años.
RE: related to ajax call on sumbit of save button
Regular Member Mensajes: 104 Fecha de incorporación: 27/07/11 Mensajes recientes
Hi Deepthi,
To fulfill your requirement you will have to use the Liferay Javascript IPC mechanism. Please see the following link for the same.
http://www.liferay.com/community/wiki/-/wiki/Main/Client-side+Inter-Portlet+Communication
Cheers
Sushil Saini
To fulfill your requirement you will have to use the Liferay Javascript IPC mechanism. Please see the following link for the same.
http://www.liferay.com/community/wiki/-/wiki/Main/Client-side+Inter-Portlet+Communication
Cheers
Sushil Saini
Amit Doshi, modificado hace 11 años.
RE: related to ajax call on sumbit of save button
Liferay Master Mensajes: 550 Fecha de incorporación: 29/12/10 Mensajes recientesdeepthi narendula:
Hi friends,
I have developed twoportlet in liferay. I used inter portlet communication in this example. What i am doing is:- I have one search portlet in which i am having one textfield for search. When i click on search button it fetches the data from the database and display that data using search-contained in another portlet.
Now what i want is when i click on the search button then the page should not be refresh(i.e i wish to use the concept of AJAX) and data should be displayed on the other portlet.How to do it....pls help me out.....
Thanks & Regards
N.Deepthi.
Please check this link. It will be useful for you.
Thanks & Regards,
Amit Doshi