Re: Wicket 7 : Image markup inside label problem

2017-10-24 Thread Maxim Solodovnik
I have added mapper https://github.com/solomax/label-with-image/commit/743af75f453952361ef49ee4d13a774a040581bc Everything seems to work I'm using "mvn clean jetty:run" command On Wed, Oct 25, 2017 at 11:15 AM, kyc wrote: > You need to add the following to

Re: Wicket 7 : Image markup inside label problem

2017-10-24 Thread kyc
You need to add the following to WicketApplication.java to reach the problem setRootRequestMapper(new CryptoMapper(getRootRequestMapper(), this)); My whole site is encrypted and the slashes are included in the encrypted characters causing the problem Broken image path:

Re: Wicket 7 : Image markup inside label problem

2017-10-24 Thread Maxim Solodovnik
I was hoping to see quickstart :) So I have created one for you: https://github.com/solomax/label-with-image It seems to work as expected Please check it and compare with your code On Wed, Oct 25, 2017 at 10:30 AM, kyc wrote: > The following is sample code to repeat the

Re: Wicket 7 : Image markup inside label problem

2017-10-24 Thread kyc
The following is sample code to repeat the problem. HTML: http://wicket.apache.org/;> JAVA: public ShowLabelPage() { super(); String htmlWithImgTag = "some text at the beginning <\"images/icon/add.gif\"> something text at

Re: Wicket 7 : Image markup inside label problem

2017-10-24 Thread kyc
Hi Maxim, Thanks for your reply. The following is sample to repeat the problem HTML: http://wicket.apache.org/;> JAVA: public ShowLabelPage() { super(); String htmlWithImgTag = "some text at the beginning

Re: Where can I get the 6.24 source download?

2017-10-24 Thread Andrea Del Bene
https://archive.apache.org/dist/wicket/6.24.0 On 24/10/2017 19:51, Entropy wrote: I need 6.24 source. all of the mirror links seemed dead. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html -

Where can I get the 6.24 source download?

2017-10-24 Thread Entropy
I need 6.24 source. all of the mirror links seemed dead. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: How to format number in (Number)TextField?

2017-10-24 Thread Kamil Paśko
Thanks! Combining it with custom Behavior should do the trick W dniu 2017-10-24 o 16:52, Maxim Solodovnik pisze: I believe by overriding textFormat you can customize the way number is being displayed And the way text is being converted to number inside wicket. to format field data while user

Re: How to format number in (Number)TextField?

2017-10-24 Thread Maxim Solodovnik
I believe by overriding textFormat you can customize the way number is being displayed And the way text is being converted to number inside wicket. to format field data while user prints you need to use JS llibrary for ex. this one http://flaviosilveira.com/Jquery-Price-Format/ looks promising

Re: How to format number in (Number)TextField?

2017-10-24 Thread Kamil Paśko
Maxim, I tried with:     private final class MyFormattedField extends TextField implements ITextFormatProvider {         private MyFormattedField(String id, IModel model) {             super(id, model);         }         @Override         public String getTextFormat() {             return

Re: How to format number in (Number)TextField?

2017-10-24 Thread Kamil Paśko
I tried with: @Override         protected void onInitialize() {             super.onInitialize();             InputMaskBehavior mask = new InputMaskBehavior() {                 @Override                 protected String getMask() {                     return "999 999.99";                 }      

Re: How to format number in (Number)TextField?

2017-10-24 Thread Francois Meillet
You can use an input with a mask something like Have a look at https://igorescobar.github.io/jQuery-Mask-Plugin/ François > Le 24 oct. 2017 à 14:37, Maxim Solodovnik a écrit : > > I believe you can override

Re: How to format number in (Number)TextField?

2017-10-24 Thread Maxim Solodovnik
I believe you can override "getTextFormat ()" method and provide your own format According to right align: you can use CSS class for that :) On

How to format number in (Number)TextField?

2017-10-24 Thread Kamil Paśko
Dear Wicket user group, I have a TextField (but I can use NumberTextField as well) and when user types a number I want that: 1) number is positioned to the right 2) thousands are separated by spaces 3) floating point character is "." How can I "force" that format in a TextField? Kind