Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Juan Duque
Preferences scope setup in liferay-portlet.xml
April 17, 2012 9:54 AM
Answer

Juan Duque

Rank: New Member

Posts: 4

Join Date: April 17, 2012

Recent Posts

In liferay-portlet.xml file is there any difference between configuring this settings

<preferences-company-wide>true | false
<preferences-unique-per-layout>true | false
<preferences-owned-by-group>true | false

vs this one:

<preferences-sharing-type>none | user | company

Thanks before hand
David H Nebinger
RE: Preferences scope setup in liferay-portlet.xml
April 17, 2012 12:23 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 7467

Join Date: September 1, 2006

Recent Posts

I'd probably open the DTD and read the comments it has about each of those elements.
Hitoshi Ozawa
RE: Preferences scope setup in liferay-portlet.xml
April 17, 2012 5:32 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7954

Join Date: March 23, 2010

Recent Posts

Interesting question. The following issue description and comment may also interest you too. emoticon

http://issues.liferay.com/browse/LPS-13983
Juan Duque
RE: Preferences scope setup in liferay-portlet.xml
April 17, 2012 7:16 PM
Answer

Juan Duque

Rank: New Member

Posts: 4

Join Date: April 17, 2012

Recent Posts

By looking up the latest DTD i found out that the option <preferences-sharing-type> was no longer defined, so i assume that was replaced by the options metioned above

Thanks for the replys