掲示板

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

7年前 に Revathi Vadlamudi によって更新されました。

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

Junior Member 投稿: 82 参加年月日: 14/11/14 最新の投稿
Want to add new constant string in PropsKeys and PropsValues.Any clue?
thumbnail
7年前 に David H Nebinger によって更新されました。

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

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
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.