Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

the rest will be done by smart tag. As you can see, it allows text to be specified in the body of the element instead of the text attribute (so you can even forget about escaping, the tag will take care of it). And also it allows for locale attribute to define locale of text (so tags can define text for non-en locales). 

Converting all occurrences of spring:message to openmrs:message

In order to be able to supply your JSPs with more agile messaging approach then spring's one, you may want to convert all occurrences of spring:message tag to openmrs:message. Worth to say, that this is key point if you want to provide in-line translation capabilities for your pages. To do this conversion under Unix machine you need to use replace_tags.sh script from the command like like follows:

Code Block

./replace_tags.sh /path/pointing/to/your/module/jsps/

Code Block

Also, we will be working on providing OS-independent solution for tags conversion.

About

This module was initially developed by ~mseaton and enhanced by ~mvorobey.