Foros de discusión

Liferay 7 : Configuration API in Spring MVC portlet

Andrey Dyb, modificado hace 7 años.

Liferay 7 : Configuration API in Spring MVC portlet

New Member Mensajes: 11 Fecha de incorporación: 24/03/17 Mensajes recientes
Hi everyone,

I'm trying to configure my Spring MVC portlet using Configuration API, but after deploying, there is no any configuration for my portlet in the Control Panel > Settings > System Settings. When I use the same configuration in the Liferay MVC portlet it works normally.

Git repository

Is it possible to use Configuration API in Spring MVC portlet ?

Any help would be appreciated.

Thanks,
Andrii
thumbnail
David H Nebinger, modificado hace 7 años.

RE: Liferay 7 : Configuration API in Spring MVC portlet (Respuesta)

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
When you develop a portlet war file (i.e for Spring MVC), you sacrafice many of the goodies provided by the Liferay OSGi echosystem such as access to Configuration Admin.
Andrey Dyb, modificado hace 7 años.

RE: Liferay 7 : Configuration API in Spring MVC portlet

New Member Mensajes: 11 Fecha de incorporación: 24/03/17 Mensajes recientes
David, thanks for the reply.