| Author |
Accessing i18n properties from javascript
|
Arne Andersen
Greenhorn
Joined: Oct 02, 2008
Posts: 8
|
|
Hi,
This should be an easy question:
How can I access the i18n properties from within javascript?
I've tried to google it, but couldnt find much useful. Closest i came was:
var text = "%{getText('i18n.properties.xxx')}";
but that didnt work..
any ideas?
|
 |
Jose Daquila
Greenhorn
Joined: Oct 01, 2010
Posts: 3
|
|
Hi!!
alert("<bean:message key="msg.gral.errorKey"/>");
That is one way. It works!
|
 |
 |
|
|
subject: Accessing i18n properties from javascript
|
|
|