I'm using GateIn 3.1 and I want to define a global property that can be available within any portlet.
(This property should be global and should not be duplicated in all portlets configuration files)
In other words, I should be able to define a property in one configuration file(like portal.properties in Liferay) like the following:
.Then, I would like to read it within any portlet like the following:
someObject.getProperty(MyPropertyKey);//someObject can be a PortalContext instance or any object else
So my questions are:
1) Where should I define this property?
2) How can I retrieve it within a portlet?
Thank you in advance.