File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 63838

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]
I agree. Here's the link:
subject: user selection of multiple items?
It's not a secret anymore!