Fórumok

How to read property file in Layout creation in LR 6.1

thumbnail
Zeeshan Khan, módosítva 11 év-val korábban

How to read property file in Layout creation in LR 6.1

Expert Bejegyzések: 349 Csatlakozás dátuma: 2011.07.21. Legújabb bejegyzések
Hi All,

I want to read property file while craeting Layouts in LR 6.1.

Please suggest some solution for this.

Thanks !!
thumbnail
Bart Simpson, módosítva 11 év-val korábban

RE: How to read property file in Layout creation in LR 6.1

Liferay Master Bejegyzések: 522 Csatlakozás dátuma: 2011.08.29. Legújabb bejegyzések
while craeting Layouts in LR 6.1.

not sure what does it means, creating layouts in IDE? or adding a new page in liferay?
May be you can hook for value.object (onAfterCreate) method for layout model, and then read the properties in your code.
If this scenario fits in your requirements, let me know if you need more details
thumbnail
Zeeshan Khan, módosítva 11 év-val korábban

RE: How to read property file in Layout creation in LR 6.1

Expert Bejegyzések: 349 Csatlakozás dátuma: 2011.07.21. Legújabb bejegyzések
Hi Bart and thanks for the reply...
Actually I am creating a new layout according to the requirements. So there if I need to put some text, I want to read it from Property file same like we use to read in Portlet by Language.properties file under src.

Thanks !