24 June, 2014

Using Portlet Session in Liferay

Here is the sample example using login form that explains how to use PortletSession in liferay. In general PortletSession has default scope limited to Portlet which can be extended to APPLICATION_SCOPE by changing property.

Let us understand it using Login example.

Tabs Creation in Liferay

Here we are going to create multiple tabs where we can render JSP pages dynamically. Tabs can be created multiple way which are given below:

1: Using Liferay UI taglib:
Put below code in JSP file :

19 June, 2014

Custom Portlet Modes

Hi All,

If you are thinking to create own custom portlet mode with liferay and want to show in configuration wrench button, then its not OOB available with Liferay and cannot achieve using simply configuration.
Liferay supports below modes :


  1.   about
  2. config
  3. edit
  4. editDefaults
  5. editGuest
  6. help
  7. preview
  8. print
  9. view
But below tag is making bit confusion whether it's support of custom mode or not. So this is used for Liferay custom modes(editDefault,editGuest etc.) only. 

  <custom-portlet-mode>
<portlet-mode>edit_guest</portlet-mode>
<portal-managed>true</portal-managed>
</custom-portlet-mode>

03 June, 2014

Build Application Using Liferay

Hello Everybody,

We knows that what and all can be build using Liferay framework but if I am a customer and I want to use Liferay as a platform to build my application so how it will benefits to them to select Liferay.
Please provide your inputs here :

02 May, 2014

500 free programming ebooks

001. The Design Patterns Java Companion
       James W. Cooper |
       Published in 1998, 218 pages
002. Thinking in Enterprise Java
       Bruce Eckel et. al. | MindView, Inc.
       Published in 2003
003. The Ugly JavaScript Book
       John H. Keyes |
       Published in 2001

29 April, 2014

Maxvalue validation for textarea using AlloyUI - IE

You might be aware that maxlength attribute of textarea doesn't work for IE8 & IE9. If you still want to restrict the length then you can use below code using alloyUI :
A.one(document).delegate(['keypress','change'],function(e){
var maxLength = this.attr('maxlength');
  if(this.val().length > maxLength) {
   this.val(this.val().substring(0, maxLength));
   e.preventDefault();
}
}, '#<portlet:namespace/>description');

02 April, 2014

Current Openings with CIGNEX Datamatics


We are looking for talent to fill the following positions at our Bangalore and Ahmedabad centers.
Positions
Overall Experience 
(in Years)
Relevant ExperienceMinimum (in Years)
   Java Developers / Lead
5-10
J2EE, Struts, spring MVC, EJB, JSF,  
REST Webservices/SOAP UI is essential
   Liferay Developer/ Lead
3-10
Spring MVC, Liferay, JSR, Javascript, Jquery, Components, Spring, CMIS, Web-Services, REST,
    


If your profile matches then send your CV on jignesh.vachhani@cignex.com

19 March, 2014

E-Commerce App by Liferay

It's great to hear from Liferay

05 March, 2014

Custom Comparator in Java

import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;

/**
 * @author Jignesh Vachhani
 *
 */

07 January, 2014

Google Guava

Hi Friends,

I know many of you are familiar with this word but someone is very new just like me.
I search this stuff in google and found that its really amazing and can be useful in our programming life.

So first question will come to your mind that what is "Google Guava" ?
So basically "Google Guava" is nothing but its utilities for working with java collection.

To start work with Gauva, you need to have java 1.6 or higher version installed in your machine.

Popular Posts

Featured Post

Liferay 7.3 compatibility matrix

Compatibility Matrix Liferay's general policy is to test Liferay Portal CE against newer major releases of operating systems, open s...