Fórum

Can I add new constant values in PropsKeys and PropsValues - Liferay 7?

Revathi Vadlamudi, modificado 7 Anos atrás.

Can I add new constant values in PropsKeys and PropsValues - Liferay 7?

Junior Member Postagens: 82 Data de Entrada: 14/11/14 Postagens Recentes
Want to add new constant string in PropsKeys and PropsValues.Any clue?
thumbnail
David H Nebinger, modificado 7 Anos atrás.

RE: Can I add new constant values in PropsKeys and PropsValues - Liferay 7? (Resposta)

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
You cannot do this, but you really don't need to.

After all, they are just string constants. Use PropsUtil.get() with your string key and you can access the property values.