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...

Thursday, November 2, 2017

Multiple ActionURL Call on Click of Buttons in Liferay

We already know how to submit a form in Liferay. Normally we create a Form with a submit button and in Form action we pass actionURL .

When we click the submit button the form is submitted and call the process action method. But sometimes we need to call various action methods on clicking of simple buttons. So today we will discuss this in detail.

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

Tuesday, October 17, 2017

Upload / Download Files in Liferay

We already know how to upload file in document and media  portlet. Today we will see how to upload a file in local machine . I created a folder on my desktop with name textdata. When we upload a file it will save in this folder . Here i also check that file must be a text file if you upload a pdf or jpeg it will give error.

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

Saturday, September 30, 2017

Search Form with Search Container in Liferay

In the previous tutorial on  Liferay Search Form with Search Container we see how we can search data from a search container. We override DisplayTerm and Search Container classes. Today we will create the same thing but in a simple way. Before reading this blog it is highly recommended to read my previous blog on  Liferay Search Form with Search Container.

Continue Reading...

Saturday, September 23, 2017

Liferay Search Form with Search Container

We already know how to use Search Container in Liferay. Today we will create a search form that can search values from search container. For this we use <liferay-ui:search-form> tag. By using this we can apply basic as well as advance search.

Liferay use this in many places like when you go to web content section (Admin->Content)
Continue Reading...

Total Pageviews

Number Of Unique Visitor

Free counters!