# Failed to use UI Framework module

**URL:** <https://talk.openmrs.org/t/failed-to-use-ui-framework-module/14844>\
**Category:** Development\
**Created:** [December 27, 2017, 7:40am UTC](https://talk.openmrs.org/t/failed-to-use-ui-framework-module/14844 "2017-12-27T07:40:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![samuel34](https://talk.openmrs.org/user_avatar/talk.openmrs.org/samuel34/32/17813_2.png) [@samuel34](https://talk.openmrs.org/u/samuel34)\
**Post date:** [December 27, 2017, 7:40am UTC](https://talk.openmrs.org/t/failed-to-use-ui-framework-module/14844/1 "2017-12-27T07:40:59Z")

</div>

Following steps closely on [using UI Framework in your module](https://wiki.openmrs.org/display/docs/Using+the+UI+Framework+in+Your+Modulehttps://wiki.openmrs.org/display/docs/Using+the+UI+Framework+in+Your+Module) , I configured things as required. Now I started following steps on [UI Framework Step By Step Tutorial](https://wiki.openmrs.org/display/docs/UI+Framework+Step+By+Step+Tutorial) . I created a simple basic module but with just on [demo](https://github.com/samuelmale/openmrs-module-uitestframework/blob/master/omod/src/main/webapp/pages/demo.gsg) page but when I try accessing it at [https://localhost:8080/openmrs/uitestframework/demo.page](https://localhost:8080/openmrs/uitestframework/demo.page) I get the following error [https://pastebin.com/Y1DYt7jD](https://pastebin.com/Y1DYt7jD)

Let someone help me out . cc @dkayiwa @darius @raff

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [December 27, 2017, 8:13am UTC](https://talk.openmrs.org/t/failed-to-use-ui-framework-module/14844/2 "2017-12-27T08:13:39Z")

</div>

Can you upload your module on github and i take a look?

---

<div class="post-metadata">

**Author:** ![samuel34](https://talk.openmrs.org/user_avatar/talk.openmrs.org/samuel34/32/17813_2.png) [@samuel34](https://talk.openmrs.org/u/samuel34)\
**Post date:** [December 27, 2017, 8:23am UTC](https://talk.openmrs.org/t/failed-to-use-ui-framework-module/14844/3 "2017-12-27T08:23:39Z")

</div>

Its here [https://github.com/samuelmale/openmrs-module-uitestframework](https://github.com/samuelmale/openmrs-module-uitestframework)

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [December 27, 2017, 8:37am UTC](https://talk.openmrs.org/t/failed-to-use-ui-framework-module/14844/4 "2017-12-27T08:37:56Z")

</div>

The convention is that if you need to access demo.page, then you need a demo.gsp. I see that yours is demo.gsg

You will also need a DemoPageController.

That being said, going forward, we do not encourage using that ui framework for new development. Our recommended approach for doing user interfaces is found in the resources below: [https://wiki.openmrs.org/display/docs/Open+Web+Apps+Module](https://wiki.openmrs.org/display/docs/Open+Web+Apps+Module)[https://wiki.openmrs.org/display/docs/Open+Web+App+Development+Workflow](https://wiki.openmrs.org/display/docs/Open+Web+App+Development+Workflow)[https://wiki.openmrs.org/pages/viewpage.action?pageId=93359610](https://wiki.openmrs.org/pages/viewpage.action?pageId=93359610)

---

<div class="post-metadata">

**Author:** ![samuel34](https://talk.openmrs.org/user_avatar/talk.openmrs.org/samuel34/32/17813_2.png) [@samuel34](https://talk.openmrs.org/u/samuel34)\
**Post date:** [December 27, 2017, 8:50am UTC](https://talk.openmrs.org/t/failed-to-use-ui-framework-module/14844/5 "2017-12-27T08:50:52Z")

</div>

But why is the UI Framework discouraged for new dev. Is it considered obsolete?
