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

Total Pageviews

Number Of Unique Visitor

Free counters!