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.
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.
Created attachment 46482 [details] Sample application where multiple selection in listbox fails because of fileupload component
Using the project provided, I do not observe the problem. Marking works for me.
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.
I think you will need to grab more recent software. http://bits.netbeans.org/netbeans/6.0/ is a handy link.
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