-
Bug
-
Resolution: Fixed
-
Normal
-
7.0.1, 7.0.2
-
Security Level: Jimmy
-
Tested on iPad Air iOS 7.1.2
-
None
1. Use +/- buttons to increment/decrement the bottom doublespinner
Turkish doublespinner does not display the updated value
2. Use +/- buttons to increment/decrement the Turkish doublespinner
The bottom doublespinner resets to 0.0, then the value is not updated afterwards
3. Enter a number in the Turkish doublespinner, then tab out
Turkish doublespinner becomes blank, but the value is retained
test.zul
<?import org.zkoss.util.Locales ?> <zk xmlns:h="native"> <zscript> String language = Locales.getCurrent().getDisplayLanguage(); </zscript> <window apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('test.TestVM')"> <h:table border="1" cellspacing="0" cellpadding="5"> <h:tr> <h:th>Locale</h:th><h:th>Doublespinner</h:th> </h:tr> <h:tr> <h:td>Turkish</h:td> <h:td><doublespinner value="@bind(vm.doubleValue)" locale="tr_TR" /></h:td> </h:tr> <h:tr> <h:td>${language}</h:td> <h:td><doublespinner value="@bind(vm.doubleValue)" /></h:td> </h:tr> </h:table> </window> </zk>
TestVM.java
package test; public class TestVM { private double doubleValue; public double getDoubleValue() { return doubleValue; } public void setDoubleValue(double doubleValue) { this.doubleValue = doubleValue; } }
- relates to
-
ZK-4780 Decimalbox has no value in Germany-locale in mobile
- Closed