Versions Compared

Key

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

...

  • I learned to pass extra model parameters to a portlet by extending the portlet controller. I failed to that for my note portlet in the patient dashboard. Later after mailing to the dev list, I found that extending the portlet controller and overriding the populateModel method will give you the chance to pass custom data required for your portlet.
  • After configuration, at first TinyMCE failed to show its icons. Later with the help of Ben, its found that there was a bug in the build script of basic module which corrupts the binary image files, its now fixed both in the basic module and in patientnotes module.
  • TinyMCE is easily configurable and light weight than FCK editor that's why I choose it, but recently I found a problem in it. By default TinyMCE supports only images over the Internet to be viewed in the note i.e. user can't upload image from his PC. Again FCKeditor supports this image uploading, but the problem is its weight and bulky configuration (changes needed in existing textareas). For an example - to use FCKeditor in jsp pages you need to use their provided tag library whereas for TinyMCE you just need to call the appropriate JavaScript function and all the textareas will be turned into rich text editing enabled textarea. There is possible workaround for this problem of tinyMCE - to use a separate file browser callback, currently there exists 2/3 such options like - Drupal's ICME browser, but those are more inclined to php rather than java/jsp.
  • I have left the question of image uploading for now and concentrate on writing the note handler. I guess letter I can integrate that using other GSoC students code who are working on image upload.
  • Along with working on the handler I am also facing some Hibernate problem, now also reading on that to get a better understanding with Hibernate.
  • Now I am giving the option to add note in a separate page, once the basic functionality is complete I will do it via javascript on the same page on note tab.

In progress screen shots

...

Image Added

Image Added

Image Added

Comments and Suggestions

Feel free to include your comments here.