Description
This code
[@ww.select id="linesToDisplay" name="linesToDisplay" list=[10, 25, 50, 100] theme="simple"/]
and
public int getLinesToDisplay() { return 25; }
will not work as expected: generated dropdown list will not have "25" as initially selected value.
Problem is that webwork would internally use BigDecimal type and action method would return Integer and comparing them with method equal will always return false (see ContainUtil.contains(Object, Object)
Attachments
Issue Links
- mentioned in
-
Wiki Page Loading...