Fórumok

Nyitólap » Liferay Portal » English » 3. Development

Kombinált nézet Egyszerű nézet Fa-nézet
Szálak [ Előző | Következő ]
toggle
Zeeshan Khan
How to read property file in Layout creation in LR 6.1
2013. március 20. 21:56
Válasz

Zeeshan Khan

Rangsorolás: Expert

Hozzászólások: 349

Csatlakozás dátuma: 2011. július 20.

Legújabb hozzászólások

Hi All,

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

Please suggest some solution for this.

Thanks !!
Bart Simpson
RE: How to read property file in Layout creation in LR 6.1
2013. március 20. 23:44
Válasz

Bart Simpson

Rangsorolás: Liferay Master

Hozzászólások: 507

Csatlakozás dátuma: 2011. augusztus 29.

Legújabb hozzászólások

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
Zeeshan Khan
RE: How to read property file in Layout creation in LR 6.1
2013. március 21. 22:12
Válasz

Zeeshan Khan

Rangsorolás: Expert

Hozzászólások: 349

Csatlakozás dátuma: 2011. július 20.

Legújabb hozzászólások

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 !