Skip to Content

Custom DateNavigator in BSP using MVC architecture

This web log provides source code for creating custom develop DateNavigator control highlighting days with different colors.
I have used the MVC architecture to create the same
Created a controller named with class named ZCL_DateNavigator, In the class the following attributes are declared
In the DO_REQUEST method of the class ZCL_DateNavigator the following code is written
1) to call the view
2) to highlight the (required) days with different colors based on our requirement

Created the View named DateNavigator.htm and following code is written

Decalred the following attributes in the view as shown below
Two button images are uploaded into the system to navigate and a css file was used named fordate.css in which it contains the contents as below

For the navigation on button click following code is written in the do handle event of the class ZCL_DateNavigator

1 Comment
You must be Logged on to comment or reply to a post.