Issue Details (XML | Word | Printable)

Key: WW-585
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Mathias Bogaert
Reporter: ck
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
WebWork

ComboBoxTag should sublass TextFieldTag

Created: 01/Jul/04 08:26 PM   Updated: 30/Oct/04 12:23 PM
Component/s: Views
Affects Version/s: 2.1
Fix Version/s: 2.1.6

File Attachments: 1. File combobox.vm (2 kB)
2. Java Source File ComboBoxTag.java (1 kB)

Environment: linux, tomcat 5


 Description  « Hide
I was messing around with the combobox tag and found some oddities with it. It didn't seem to support all the attributes that the text field tag did, and moreover, it seems to think it should have a boolean as it's value, when in actuality it should support text, or at least that's how it's velocity template is written. I've enclosed both a rewritten version of the ComboBoxTag class and the simply combobox.vm file that subclasses the textfield and uses the textfield vm. Not really a necessary fix, but I thought I'd mention it to see what you folks thought...

 

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Mathias Bogaert added a comment - 30/Oct/04 12:23 PM
Fixed. Although the 'combo box' needs an overhaul. Actually:

- select: read-only select box
- combo box: select an item from a drop-down or fill it in yourself

I'm thinking about http://webfx.eae.net/dhtml/combobox/combobox.htm