Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-437

Add Required Class Element to Extension Points

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.9.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      Extension points in core (search for "openmrs:extensionPoint") have an optional "requiredClass" attribute as of rev:4070.

      Things like the extension point in gutter.jsp need to require a class of "LinkExt". LinkExt has a getUrl and getLabel method on it an the extensionPoint taglib in the gutter.jsp expects the extension to have a getUrl and getLabel on it.

      We should find all extensionPoints in openmrs and add this requiredClass attribute to ones that need it. If an interface doesn't exist, we should add it.

      (Note: Modules that are using those extension points will need to be updated with the new interfaces before they will work)

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  harsha.cse Harsha Halgaswatta
                  Reporter:
                  bwolfe Ben Wolfe
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: