I have this issue, I tried building HTMLFormEntry UI, 1.3 version does not build on its own, but the 1.6 version builds fine. but to run with the latest OpenMRS war file I need to have the 1.3 version. Is there a way to solve this problem??
@mogoodrich : I tried that referencing method, that should work. I have this problem though. Even though reference link is there in the source code when the page is loaded. the source has not been connected. What I did was I copied the js files to htmlformentryui folder’s script folder and gave the link to that as follows
I’m not 100% sure, you may need to redeploy after adding a library.
Looking at your code, though, if you copied the js files int the htmlformentryui module’s script folder, the provider should be htmlformentryui not htmlformentry.
(That being said, the “right” thing to do would be to provide the library in your own module, not add it to htmlformentryui)
Even though this is shown when I click on that it does not show the resource. I assume the reference is not done properly. Any advice on how to fix it?
@dkayiwa : Thank you. I am currently on my mobile. I will try to use this method when I get home.
Before that I have a question. This is used in the jsp file. I have tried that before and it works fine. Would this work if I add the same line in the htmlform that we are creating?
I am still searching on a method to replace OpenMRS-Standalone key word. as I checked with source code, it has been used as the OpenMRS_Context as well. Is there a way to get the exact location of the web app or a similar folder ( inside a html form)
Other option is to load the HTML form to the module itself and hard code the references locally inside the module.