Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Ticket #787 (closed task: fixed)

Opened 2 years ago

Last modified 2 years ago

Allow adding fieldgen handlers by modules

Reported by: upul Assigned to: bwolfe
Priority: major Milestone: (Completed) OpenMRS 1.3
Component: OpenMRS Code Base Keywords:
Cc: Introductory Ticket:
Code Review Status:

Description

moduleApplicationContext.xml of the module will have entries like the following. This should add the given handlers to the singleton FieldGenHandlerFactory defined in the openmrs-servlet.xml.

<bean id="tribemoduleFieldGenHandlerFactory"

class="org.openmrs.web.taglib.fieldgen.FieldGenHandlerFactory"> <property name="handlers">

<props>

<prop key="org.openmrs.module.tribemodule.Tribe">org.openmrs.module.tribemodule.web.TribeHandler</prop>

</props>

</property>

</bean>

Attachments

openmrs-787.patch (1.5 kB) - added by upul on 05/31/08 16:48:46.

Change History

05/31/08 16:48:46 changed by upul

  • attachment openmrs-787.patch added.

05/31/08 16:50:19 changed by upul

  • owner changed from somebody to bwolfe.

06/02/08 13:03:15 changed by bwolfe

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone set to OpenMRS 1.3.

Patch committed in [4501]