That should be able to work if you script' code is embedded in a jsp and not in a separate javascript file.
Wyclif On Wed, Aug 3, 2011 at 10:17 AM, Peter Eichenauer <[email protected]>wrote: > Hi, > > JQuery dataTable plugin is used in a couple of modules. I am working on > internationalisation of reporting module UI. > > The dataTable website shows an example how to alter labels. The labels > will be replaced by spring's message tag. > > $(document).ready(function() { > $('#example').dataTable( { > "oLanguage": { > "sSearch": "<spring:message code="general.search"/>" > } > } ); > } ); > > > Is this the way to go or have you discovered a more convenient way? > > Thanks, > Peter > _________________________________________ > > To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to > [email protected] with "SIGNOFF openmrs-devel-l" in the body > (not the subject) of your e-mail. > > [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l] > _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

