Foren

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

Revathi Vadlamudi, geändert vor 7 Jahren.

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

Junior Member Beiträge: 82 Beitrittsdatum: 14.11.14 Neueste Beiträge
Want to add new constant string in PropsKeys and PropsValues.Any clue?
thumbnail
David H Nebinger, geändert vor 7 Jahren.

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

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
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.