Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Developers should use this tag redirect a user to a configuration page if any are missing.

Example usage for explicit GP names:

Code Block

<openmrs:requireConfiguration propertyList="concept.height, concept.weight" configurationPage="/module/mymodule/configplz.htm" />

or example usage for a prefix:

Code Block

<openmrs:requireConfigurationByPrefix propertyList="mymodule." configurationPage="/module/mymodule/configplz.htm" />
Note

This tag should be placed before the header import tag (but after the include import tag).

See simplelabentry module for examples: source:openmrs-modules/simplelabentry/web/module/localHeader.jsp (note: change simplelabentry:requireConfiguration to openmrs:requireConfiguration)

TLD for the taglibs: source:openmrs/trunk/web/WEB-INF/taglibs/openmrs.tld

Also avabialable is the "requireConfigurationByPrefix" tag:

Example Usage:<openmrs:requireConfigurationByPrefix propertyList="mymodule." configurationPage="/configplz.htm" />