Issue Details (XML | Word | Printable)

Key: WW-1418
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

optgroup.ftl formats long numbers with commas

Created: 23/Jan/07 08:00 PM   Updated: 23/Jan/07 08:15 PM
Component/s: None
Affects Version/s: 2.2.4
Fix Version/s: 2.2.5


 Description  « Hide
optgroup.ftl formats long numbers with commas

this is related to struts2 issue [1]

[1] - https://issues.apache.org/struts/browse/WW-1672

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
tm_jee added a comment - 23/Jan/07 08:15 PM
Checking in src/java/template/simple/optgroup.ftl;
/cvs/webwork/src/java/template/simple/optgroup.ftl,v <-- optgroup.ftl
new revision: 1.2; previous revision: 1.1
done

basically changed
<option value="${tmpKey}"
to
<option value="${tmpKey.toString()}"

and
${tmpValue.toString()}
to
${tmpValue}