Message Boards
how to use AJAX in portlet ?
akash rathod, modified 12 Years ago.
how to use AJAX in portlet ?
New Member Posts: 22 Join Date: 10/6/11 Recent Posts
hi ....
how to dynamically change the portlet content using Ajax (ex. onclick of like replace by Dislike ) and database update?
how to dynamically change the portlet content using Ajax (ex. onclick of like replace by Dislike ) and database update?
David H Nebinger, modified 12 Years ago.
RE: how to use AJAX in portlet ?
Liferay Legend Posts: 14919 Join Date: 9/2/06 Recent Posts
Many frameworks include this kind of stuff automagically. AUI has some support for AJAX in portlets, but there are other frameworks (such as Vaadin) that make using AJAX in a portlet a breeze (and in Vaadin's case, transparent).
Hitoshi Ozawa, modified 12 Years ago.
RE: how to use AJAX in portlet ?
Liferay Legend Posts: 7942 Join Date: 3/24/10 Recent Posts
Page from the creator of alloy aui on using ajax. It's also possible to use jQuery and use ajax.
http://www.liferay.com/web/nathan.cavanaugh/blog/-/blogs/alloyui-working-with-ajax
http://www.liferay.com/web/nathan.cavanaugh/blog/-/blogs/alloyui-working-with-ajax