Hi everyone,
I am try to create a new test module to understand the OpenMRS project. I followed this link to create a new module. I want to know how this below code is working.
"<openmrs:message code="general.description"/>"
Hi everyone,
I am try to create a new test module to understand the OpenMRS project. I followed this link to create a new module. I want to know how this below code is working.
"<openmrs:message code="general.description"/>"
@nalinga that’s an openmrs custom tag that reads messages from messages.propertes file for internationalization
for that code to work , You must have a string property like
general.description=My Custom Description
in your messages.properties file
thats only used when your module will depend on the legacy UI ,
otherwise , in the UIframework , which is currently used in the reference application ,some thing like this is used…
ui.message("general.description")
Can you please tell me more about that ui.message() part please, what happen in that function?
Thanks @mozzy I will try
@jayamal , can you take alook at this
https://wiki.openmrs.org/display/docs/UI+Framework+Step+By+Step+Tutorial