Hi Devs,
Am currently trying to update the workflow mobile client with mforms client and I have kinda hit a wall. :(
In the former openxdata mobile client the FormManger allowed registering of FormEventListeners which would enable one to manipulate a form before/after it is saved or before/after it is deleted. This allowed manipulation of a form without the necessity to manually edit the core code. To show a form in the old mobile client all one had to do was to call FormManager.showForm(..., formData,,,,,, currentDisplay);This functionality allowed easily extending the mobile client.
In the current mforms-client this logic seems to have changed/removed and I was wondering whether there is an alternative way I could easily render a form given a certain formData object.
These are options I have thought about,
1.Try to put back the FormEventListener logic.
Problem: This would require quite some changes in the core code.
2. Write my custom standalone Form Runner which is independent of EpihandyController, FormManager and Model object.This will be a highly reusable MobileForm Runner since any class will be able to use it even in future.
Problem: This would lead to code duplication.
Looking forward for your Input as I would like to avoid duplicating any code and have a system that is easy to maintain.
Thanx in advance,
Ronald.