Foros de discusión

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

Revathi Vadlamudi, modificado hace 7 años.

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

Junior Member Mensajes: 82 Fecha de incorporación: 14/11/14 Mensajes recientes
Want to add new constant string in PropsKeys and PropsValues.Any clue?
thumbnail
David H Nebinger, modificado hace 7 años.

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

Liferay Legend Mensajes: 14914 Fecha de incorporación: 2/09/06 Mensajes recientes
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.