History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WW-479
Type: Bug Bug
Status: Resolved Resolved
Resolution: Not A Problem
Priority: Minor Minor
Assignee: Mathias Bogaert
Reporter: Rene Gielen
Votes: 0
Watchers: 0
Operations

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

getValueClassType() in ComboboxTag returns Boolean.class

Created: 21/Feb/04 08:15 AM   Updated: 20/Oct/04 06:52 AM
Component/s: Views
Affects Version/s: 2.1
Fix Version/s: 2.1.5

Environment: All


 Description  « Hide
If I am right, there is a copying error here:

protected Class getValueClassType() {
    return Boolean.class; // for checkboxes, everything needs to end up as a Boolean
}

Should be String.class, or just leave inhereted method.

 All   Comments   Change History      Sort Order:
Mathias Bogaert - [20/Oct/04 06:52 AM ]
This is not a bug. The value is indeed of type String, but the value evaluation using OGNL needs to evaluate a Boolean.