Hi,

I'd like now if is possible use locale into my functions JS, example:


<DirectEvents>
                                    <Click OnEvent="ValidLogin" Before="var valid; if(#{txtUser}.getValue() != '' && #{txtPassword}.getValue() != ''){valid = true;}else{Ext.Msg.alert(Set Message into Head with Locale,Set Message with Locale); valid = false;} return valid;"></Click>                                </DirectEvents>
I need to use the locale in the JavaScript because I'm using the Resources.resx for do the internationalization, where the system will be available for many languages.

Someone know how I can do it?

Thanks Attention!

Flávio A. da Maia Júnior.
Coolite 1.0