learning how to navigate dhis2 sourcecode

Hi Guys

I have picked interest in the DHIS2 project, currently am trying to learn the code flow so that i can get actively involved in the development process and contribute towards the development of some modules at a later stage.

well i have kind of gotten stack in my learning process.

this is my understanding of the code flow using struts mvc

···

when a user logs in, execution goes to the InitAction.java action class.

but then in the action class i cant find the code that generates the objects sent to velocity pages.

please could some one let me know where the code generating the objects sent to velocity is located!

thanks in advance!


Regards
David Nyaika
Software Developer(SCJP,SCWCD Certified)

IICS Technologies, Muyenga

Phone:+256706353274
Skype:davie2086
Email: davie2086@gmail.com

Hi

You should be looking at the struts.xml files, e.g. in the dhis-web-light module, you will find a struts.xml where every action is mapped, the actions class then provides the data for the velocity file.

···


Morten

On Mon, Mar 4, 2013 at 12:35 PM, Nyaika David davie2086@gmail.com wrote:

Hi Guys

I have picked interest in the DHIS2 project, currently am trying to learn the code flow so that i can get actively involved in the development process and contribute towards the development of some modules at a later stage.

well i have kind of gotten stack in my learning process.

this is my understanding of the code flow using struts mvc


when a user logs in, execution goes to the InitAction.java action class.

but then in the action class i cant find the code that generates the objects sent to velocity pages.

please could some one let me know where the code generating the objects sent to velocity is located!


Regards
David Nyaika
Software Developer(SCJP,SCWCD Certified)

IICS Technologies, Muyenga

Phone:+256706353274
Skype:davie2086
Email: davie2086@gmail.com

thanks in advance!


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp