Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you refresh your http://localhost:8080/openmrs/yourmoduleid/helloWorld.page, you will probably see not see any encounters, because your development database is unlikely to have any encounters today. To show off another feature of the UI Framework, let's temporarily change the date that our fragment uses. Go ahead and do a sql query like "select max(encounter_datetime) from encounter" to find a date you have an encounter on. Now, change the code in EncountersTodayFragmentController to manually set a date, maybe by adding something like the following:

...