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 94564

Summary: Editable dropdown component even though set to read only
Product: obsolete Reporter: bugbridge <bugbridge>
Component: visualwebAssignee: Matthew Bohm <mbohm>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: basic dropdown

Description bugbridge 2007-02-05 23:26:23 UTC
Original status: 3-Accepted; Suggested Status: NEW

Original Target Release: mako_dev; Suggested Target Milestone : Dev


Description:
The readonly property of the drop down list has been checked. Upon running the
application the dropdown list is changeable. The validate method or the process
value change methods are not invoked. The auto submit on change feature works
though. 

It would be better to have the dropdown not changeable if its readonly property
has been checked, just like the text field which becomes uneditable if its
readonly property has been checked.

This behaviour was noticed while working on an issue mentioned by a customer in
the forum. The URL to the forum thread
is:http://swforum.sun.com/jive/thread.jspa?threadID=50067&tstart=15

xxx@xxxx 2004-12-08 06:31:46 GMT

Evaluation:
For Basic dropdown , appears to work as expected  - see attached project.
Note the dropdown will not appear if readonly is set.
In the attached project, I added a button and code to unset Read only and
found that when clicking the button the dropdown is visible and usable.

Using Standard components, the Standard dropdown doesn't behave as expected.

Since the Basic dropdown works, then close as will not fix ?
Comment 1 Pegah Sarram 2007-02-05 23:31:59 UTC
Created attachment 38074 [details]
basic dropdown