aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes List Box problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "List Box problem" Watch "List Box problem" New topic
Author

List Box problem

deva siva
Ranch Hand

Joined: Apr 29, 2005
Posts: 37
Hi

I have a list box which contains 2 different type of values. one is comming from array1 these are previously selected values and second comming form array2 these previously unselected values.

when i select the value in list box that value goes to other page and get the report corresponding that value. It's working fine.

Now my question is, i want to give the control only selected values that values will be goes and get the report not for all values.

HOW TO IDENTIFY, SELECTED VALUES AND UNSELECTD VALUES FROM SINGLE LIST BOX
THE SELECTD VALUES CONTAINS BLUE COLOR AND UNSELECTED VALES CONTAIN TEXT GREY COLOR.

HELP ME ...

BYE
DEVA



But
ex:
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I think you need to compare the selection with the arrays and determine it that way.

Eric
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: List Box problem