Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display 2 month calendar in JSP and highlight with current date

 
Koti Samadhi
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Requirement: 1. Show the Category Reports Available on the first list box.

2. By Clicking on the Category Reports Automatically populate the second list box with names of reports.

3.Select the report and select date from the calendar control and submit, -> GUI will open for selected report & selected date in Excel format.

Expected screen attached.

Could you please help me on this, how to proceed.
Test.jsp.png
[Thumbnail for Test.jsp.png]
 
K. Tsang
Bartender
Posts: 3444
13
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So what you having trouble with? The list box population onclick event or displaying the 2-month calendar?
 
Arun Giridhar
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok , display the category names first , onselect of category you need to display report name (ajax calls) , on select of report name and date(choose date from the calendar) and on submit( you need to pass the report name and selected date) you need to generate Excel (Apache POI).

Your work is on totally doing the Operation as mentioned above and writing a template to generate Excel.

If you need help let me know.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic