Fórumok

Change portal.properties from bean portlet

thumbnail
Égon Yuri Lima, módosítva 10 év-val korábban

Change portal.properties from bean portlet

Junior Member Bejegyzések: 25 Csatlakozás dátuma: 2012.04.23. Legújabb bejegyzések
Is there any way to change my portal.properties file during the execution of a portlet ?
Vinícius Maximiano, módosítva 10 év-val korábban

RE: Change portal.properties from bean portlet

New Member Bejegyzések: 4 Csatlakozás dátuma: 2013.10.30. Legújabb bejegyzések
Create a portlet by RUC.
thumbnail
Égon Yuri Lima, módosítva 10 év-val korábban

RE: Change portal.properties from bean portlet

Junior Member Bejegyzések: 25 Csatlakozás dátuma: 2012.04.23. Legújabb bejegyzések
I've never seen this type of portlet. You mean Hook Plugin?
thumbnail
Nagendra Kumar Busam, módosítva 10 év-val korábban

RE: Change portal.properties from bean portlet

Liferay Master Bejegyzések: 678 Csatlakozás dátuma: 2009.07.07. Legújabb bejegyzések
can you brief more about, you exact use case
thumbnail
Égon Yuri Lima, módosítva 10 év-val korábban

RE: Change portal.properties from bean portlet

Junior Member Bejegyzések: 25 Csatlakozás dátuma: 2012.04.23. Legújabb bejegyzések
I'm developing a portlet that creates all the basic structures of my Portal dynamically (this structure includes portal pages and portlets contained in each and also includes some standard system users) and one of the settings I wish I could change would be the default language of the portal, which is defined in this file portal.properties (and portal-ext.properties) on my Portal.

Noting API liferay LocaleUtil I saw that the class has a method to set the default locale, but it is not working the way I expected.

Someone let me know if there is any way to replace the default system language?