11 November, 2011

Popup

Below code will helpful to create popup in liferay :
In Liferay 5 :
<portlet:renderURL var="somePageURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>">
 <portlet:param name="jspPage" value="/jsp/some/page.jsp"/>
 <portlet:param name="redirect" value="<%= currentURL %>"/>
</portlet:renderURL>

AlloyUI form submition

Here is the code to submit the form using ajax call within popup.

Liferay 5 with jQuery

jQuery in liferay 6

Hi Everyone,
you will be aware that jquery plugin has been removed from LR 6 and alloyui has been integrated for gr8 UI.
So Still if you want to integrate jquery with liferay 6 then follow below steps :

Create Servlet Project as Module

You would have seen that many times we are writing out own servlet in Liferay portal to achieve some specific use case. In DXP, You can st...