This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 112597 - Listbox's multiple selection doesnt work with fileUpload component
Summary: Listbox's multiple selection doesnt work with fileUpload component
Status: VERIFIED WORKSFORME
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Matthew Bohm
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-12 11:25 UTC by azizmithani
Modified: 2007-08-17 19:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample application where multiple selection in listbox fails because of fileupload component (24.58 KB, application/x-compressed)
2007-08-12 11:35 UTC, azizmithani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description azizmithani 2007-08-12 11:25:40 UTC
The multiple property of listbox does not have any effect if the page contains a file upload component. In this case, it
always returns the last value selected (e.g. in the "value" in validate method of the list box). Without file upload
component, it works fine.
Comment 1 azizmithani 2007-08-12 11:35:45 UTC
Created attachment 46482 [details]
Sample application where multiple selection in listbox fails because of fileupload component
Comment 2 Matthew Bohm 2007-08-14 06:53:03 UTC
Using the project provided, I do not observe the problem. Marking works for me.
Comment 3 azizmithani 2007-08-14 08:57:10 UTC
In the project provided, it still returns number of selected items = 1 for me. I am using Netbeans 5.5.1 with
Application Server Platform Edition 9.0_01 (build b02-p01), J2EE 5 with Firefox browser.
Comment 4 Matthew Bohm 2007-08-14 19:18:52 UTC
I think you will need to grab more recent software. http://bits.netbeans.org/netbeans/6.0/ is a handy link.
Comment 5 Lark Fitzgerald 2007-08-17 19:05:55 UTC
Verified using:
Product Version: NetBeans 6 IDE Dev (Build 200708160000)
Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Woodstock 4.1: 200708160344