Issue Details (XML | Word | Printable)

Key: WW-1070
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: tm_jee
Reporter: tm_jee
Votes: 0
Watchers: 0
Operations

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

double select created option with key and value wrongly

Created: 07/Jan/06 02:17 AM   Updated: 07/Jan/06 02:18 AM
Component/s: Views
Affects Version/s: 2.2
Fix Version/s: 2.2


 Description  « Hide
doubleselect.ftl created option with wrong key and value they are switched

new Option('value', 'key) will generate <option value='key'>value</option>

hence

${parameters.name}Group[${itemCount}][${doubleItemCount}] = new Option("${doubleItemKey}", "${doubleItemValue}");

should be

${parameters.name}Group[${itemCount}][${doubleItemCount}] = new Option("${doubleItemValue}", "${doubleItemKey}");


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.