Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
mukund S
Portlet preferences
October 29, 2012 7:17 AM
Answer

mukund S

Rank: Junior Member

Posts: 26

Join Date: October 25, 2012

Recent Posts

Hi All,
Could someone help me with portlet preferences?
I need to know how it works and need some basic practical examples.....
Srikanth Konjarla
RE: Portlet preferences
October 29, 2012 7:36 AM
Answer

Srikanth Konjarla

Rank: Junior Member

Posts: 51

Join Date: October 24, 2008

Recent Posts

Liferay developer guide would be a starting point.

https://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/writing-the-my-greeting-portl-4
Jitendra Rajput
RE: Portlet preferences
October 29, 2012 7:35 AM
Answer

Jitendra Rajput

Rank: Liferay Master

Posts: 745

Join Date: January 7, 2011

Recent Posts

Basically you can use preference either from portlet.xml( this preference will be static ) or from your code i mean run time using API.
Refer to this link for example.
mukund S
RE: Portlet preferences
October 29, 2012 11:30 PM
Answer

mukund S

Rank: Junior Member

Posts: 26

Join Date: October 25, 2012

Recent Posts

hi
can you explain why we need portlet preferences and what is the purpose of portlet preferences?
Bart Simpson
RE: Portlet preferences
October 29, 2012 11:48 PM
Answer

Bart Simpson

Rank: Liferay Master

Posts: 523

Join Date: August 29, 2011

Recent Posts

Well in one line: To save the configuration of each portlet / portlet instance, portlet preferences is used.