Re: [DISCUSSION] drop wicketstuff-jwicket-ui*

2022-01-11 Thread Sven Meier
+1 for dropping them

Sven

Am 12. Januar 2022 07:29:19 MEZ schrieb Martin Grigorov :
>+1 to drop them !
>
>On Wed, Jan 12, 2022 at 8:19 AM Maxim Solodovnik 
>wrote:
>
>> Hello All,
>>
>> I've just noticed:
>>
>> wicketstuff-jwicket-ui-datepicker
>> Contains `jQuery UI Datepicker 1.10.3` ( more than 160 js/css files)
>> wicketstuff-jwicket-ui-tooltip
>> Contains `jQuery UI Tooltip 1.10.3`
>>
>> wicketstuff-jwicket-ui-accordion
>> wicketstuff-jwicket-ui-dragdrop
>> wicketstuff-jwicket-ui-effects
>> wicketstuff-jwicket-ui-menu
>> wicketstuff-jwicket-ui-resize
>> wicketstuff-jwicket-ui-sort
>>   Contains `jQuery UI * 1.8.6`
>>
>> these components seems to very much outdated
>> maybe we can drop them?
>>
>>
>> --
>> Best regards,
>> Maxim
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>


Re: Convert to science Number

2022-01-11 Thread Martin Grigorov
On Wed, Jan 12, 2022 at 8:21 AM vahid ghasemi 
wrote:

> This is my sample code :
>
> add(new TextField<>("grossWeightInKg", new IModel() {
>
> @Override
> public String getObject() {
> return flightConsignment.getGrossWeightInKg() == null ? "" :
> flightConsignment.getGrossWeightInKg().toString();
>

It is not Wicket but your code ^^
You may want to check java.text.NumberFormat and java.text.DecimalFormat


> }
> ...
> }
>
> weightInKg is Double(not double).
>
>
> On Tue, Jan 11, 2022 at 12:03 PM Martin Terra <
> martin.te...@koodaripalvelut.com> wrote:
>
> > Also, are you using a BigDecimal or arbitrary floating point numbers
> > ? Big
> > decimals should have a built in converter.
> >
> > **
> > Martin
> >
> > ti 11. tammik. 2022 klo 10.26 Martin Grigorov (mgrigo...@apache.org)
> > kirjoitti:
> >
> > > Please give more details
> > >
> > > On Tue, Jan 11, 2022 at 9:10 AM vahid ghasemi <
> vahidghasemi...@gmail.com
> > >
> > > wrote:
> > >
> > > > Hello,
> > > > In wicket, the number above from 10E7 will convert to science number
> in
> > > > input.
> > > > How can I prevent that?
> > > >
> > >
> >
>


Re: [DISCUSSION] drop wicketstuff-jwicket-ui*

2022-01-11 Thread Martin Grigorov
+1 to drop them !

On Wed, Jan 12, 2022 at 8:19 AM Maxim Solodovnik 
wrote:

> Hello All,
>
> I've just noticed:
>
> wicketstuff-jwicket-ui-datepicker
> Contains `jQuery UI Datepicker 1.10.3` ( more than 160 js/css files)
> wicketstuff-jwicket-ui-tooltip
> Contains `jQuery UI Tooltip 1.10.3`
>
> wicketstuff-jwicket-ui-accordion
> wicketstuff-jwicket-ui-dragdrop
> wicketstuff-jwicket-ui-effects
> wicketstuff-jwicket-ui-menu
> wicketstuff-jwicket-ui-resize
> wicketstuff-jwicket-ui-sort
>   Contains `jQuery UI * 1.8.6`
>
> these components seems to very much outdated
> maybe we can drop them?
>
>
> --
> Best regards,
> Maxim
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Convert to science Number

2022-01-11 Thread vahid ghasemi
This is my sample code :

add(new TextField<>("grossWeightInKg", new IModel() {

@Override
public String getObject() {
return flightConsignment.getGrossWeightInKg() == null ? "" :
flightConsignment.getGrossWeightInKg().toString();
}
...
}

weightInKg is Double(not double).


On Tue, Jan 11, 2022 at 12:03 PM Martin Terra <
martin.te...@koodaripalvelut.com> wrote:

> Also, are you using a BigDecimal or arbitrary floating point numbers
> ? Big
> decimals should have a built in converter.
>
> **
> Martin
>
> ti 11. tammik. 2022 klo 10.26 Martin Grigorov (mgrigo...@apache.org)
> kirjoitti:
>
> > Please give more details
> >
> > On Tue, Jan 11, 2022 at 9:10 AM vahid ghasemi  >
> > wrote:
> >
> > > Hello,
> > > In wicket, the number above from 10E7 will convert to science number in
> > > input.
> > > How can I prevent that?
> > >
> >
>


[DISCUSSION] drop wicketstuff-jwicket-ui*

2022-01-11 Thread Maxim Solodovnik
Hello All,

I've just noticed:

wicketstuff-jwicket-ui-datepicker
Contains `jQuery UI Datepicker 1.10.3` ( more than 160 js/css files)
wicketstuff-jwicket-ui-tooltip
Contains `jQuery UI Tooltip 1.10.3`

wicketstuff-jwicket-ui-accordion
wicketstuff-jwicket-ui-dragdrop
wicketstuff-jwicket-ui-effects
wicketstuff-jwicket-ui-menu
wicketstuff-jwicket-ui-resize
wicketstuff-jwicket-ui-sort
  Contains `jQuery UI * 1.8.6`

these components seems to very much outdated
maybe we can drop them?


-- 
Best regards,
Maxim

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Convert to science Number

2022-01-11 Thread Martin Terra
Also, are you using a BigDecimal or arbitrary floating point numbers
? Big
decimals should have a built in converter.

**
Martin

ti 11. tammik. 2022 klo 10.26 Martin Grigorov (mgrigo...@apache.org)
kirjoitti:

> Please give more details
>
> On Tue, Jan 11, 2022 at 9:10 AM vahid ghasemi 
> wrote:
>
> > Hello,
> > In wicket, the number above from 10E7 will convert to science number in
> > input.
> > How can I prevent that?
> >
>


Re: Convert to science Number

2022-01-11 Thread Martin Grigorov
Please give more details

On Tue, Jan 11, 2022 at 9:10 AM vahid ghasemi 
wrote:

> Hello,
> In wicket, the number above from 10E7 will convert to science number in
> input.
> How can I prevent that?
>