Is there any specific DoubleConverter initialized in the Application's
newConverterLocator() method ?
François
On Wed, Feb 26, 2014 at 5:55 PM, nazeem md.naz...@gmail.com wrote:
Changing the object type to Big Decimal solves this .. Still not clear
how..
if any body knows any clue please
No i don't have any initialised.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/double-type-text-field-auto-roundsoff-tp4664628p4664714.html
Sent from the Users forum mailing list archive at Nabble.com.
Changing the object type to Big Decimal solves this .. Still not clear how..
if any body knows any clue please let me know..
TextFieldBigDecimal
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/double-type-text-field-auto-roundsoff-tp4664628p4664701.html
Sent
Today i noticed the same behaviour in another text field of type double. But
on refresh the issue was not repeating. So.. any clue to trouble shoot this
issue in this form ? where it is consistently reproduced.
--
View this message in context:
Are you using HTML5's type=number?
Sven
On 02/24/2014 02:43 PM, nazeem wrote:
Today i noticed the same behaviour in another text field of type double. But
on refresh the issue was not repeating. So.. any clue to trouble shoot this
issue in this form ? where it is consistently reproduced.
--
Hi,
What type attribute do you use for the input ?
Maybe the rounding happens at the client side.
Martin Grigorov
Wicket Training and Consulting
On Mon, Feb 24, 2014 at 3:43 PM, nazeem md.naz...@gmail.com wrote:
Today i noticed the same behaviour in another text field of type double.
But
Here is the generated html
input type=text id=txInput209
name=forceForm_body:plannedQty:txfCntr:txInput value=1 class=full-width
On inspecting the DOM i see the set range text property set to
setRangeText : setRangeText()
If i remove the on blur event , the value remains as decimal, but
Hi,
check FormInput from wicket-examples, it has a TextFieldDouble and
happily accepts 604.43 without rounding.
How to trouble shoot this ?
Put a breakpoint into your model object's setter and check where the
value is coming from.
Sven
On 02/22/2014 03:18 PM, nazeem wrote:
Hi I am
Hi Sven,
I had used in other places, this is not the case. it works perfectly fine.
I had tried that break point approach as well before posting, my setter is
called with correct value. Only after the refresh or repaint in onBlur.. the
value changes in the form itselfto 604. Now when i hit