This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSP and the fly likes user selection of multiple items? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "user selection of multiple items?" Watch "user selection of multiple items?" New topic

user selection of multiple items?

venkatesh padmanabhan

Joined: Feb 17, 2006
Posts: 20
I have created a calendar program in jsp.
I have 3 problems now..

1. the calendar is displaying all the months vertically, but i need it to be shown in 3*4 matrix style, ie.. jan feb mar on one row,like that.

2. I want the user to select the dates(multiple selection needs to be done), when he selects the date, that date has to be highlighted with some color, to know it is clicked.

3. I should be able to transfer those dates to another jsp page, how to transfer the selected date?

my calendar code is shown below :

please help with the code..

Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Your first two problems are related to HTML/Javascript and you had better address these here.

What HTML component are you using to show a date? If its a table then you can take those selected tds innerHTML into some hidden field and get that value in other page using that field.
venkatesh padmanabhan

Joined: Feb 17, 2006
Posts: 20
Can anyone help me with the code..please
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63534

Please do not cross-post the same question to multiple forums. Please continue any discussion in the HTML forum.

[Asking smart questions] [About Bear] [Books by Bear]
Don't get me started about those stupid light bulbs.
subject: user selection of multiple items?
It's not a secret anymore!