Friday, June 29, 2018

Open Web Content in Control Panel from your Custom Portlet


Today we will open Web Content Edit Page from our custom portlet.We already know how to write struts action hook here we use the same approach. We create a simple portlet and provide a link on click of that link we open the web content in control panel.


Continue Reading...

Validation in WYSIWUG Editor in Liferay


We already know how to Create WYSIWYG editor in our custom portlet.For this we create a hidden field with same name as our editor and use aui:validator on that field.

Continue Reading...

Friday, June 22, 2018

How to access JSTL variable in Scriptlets


Sometimes we have a situation in which we need to access JSTL in our scriptlets. Today we will solve this problem. Here i need to call a simple method greetUser that take screen name as a argument.

Continue Reading...

Wednesday, June 13, 2018

Use JQuery Data Table in Liferay


In Liferay if we need to show some data in grid form we use search container provided by Liferay.
But search container refresh page each time when we click next page and if we want to apply search on search container its also refresh page for each search.

So today we create data grid by using jquery data table .This is very easy and provide search, pagination etc without page refresh.

Lets start this step by step:-
Continue Reading...

Wednesday, May 16, 2018

Call Procedure in Liferay using jdbc methods


In the blog we will see how to call procedure in liferay using jdbc methods. For this i already created a procedure that return 3 result sets (user, contact and account). We iterate these result sets using jdbc methods.

Continue Reading...

Friday, March 23, 2018

Change Permission of a File/Document by Groovy in Lilferay


In the previous blog we Change the permission of a file to guest programmatically in this blog we change the permission by groovy script. 

So Lets start this:-
Continue Reading...

Programmatically Change Permission of a File/Document in Lilferay


Sometimes we need to change the permission of a document to Guest in Liferay. For this we can change this by Groovy Script or programatically. Today we will change this programatically:-

So lets start this:-
Continue Reading...

Saturday, February 3, 2018

Lucene Search in Liferay


Today we will see how to use Lucene Search in Liferay. For this i create a simple portlet which can search journal Articles on the basis of title.

So lets start this Step by Step:-
Continue Reading...

Total Pageviews

Number Of Unique Visitor

Free counters!