17 February, 2011

Portlet Preferences

There are two kinds of portlet preferences available.
  • Static Preferences
  • RunTime Preferences
  •  

order by clause in service.xml

The attributes of the order-column element allows you to fine tune the ordering
of the entity.

<order by="asc">
<order-column name="title" />
</order>

16 February, 2011

Article by tag name

As Now we are moving with liferay 6 we would have lot many requirements
to find the articles by tag name.So in liferay-6 i found little bit
change to find the articles according to tags in comparison with liferay 5.2.X.
So here below i have put the code snippet to find articles by tag for liferay 6.
Hope it will be usefull !!!

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