Re: @SpringBean inside WebSession

2018-04-10 Thread Kamil Paśko
How about: @Override     public Session newSession(final Request request, final Response response) {     final AuthenticatedSession session = (AuthenticatedSession) super.newSession(request, response);     Injector.get().inject(session);     return session;     } in

Re: Disable component to prevent double click

2018-03-06 Thread Kamil Paśko
20:16 schrieb Kamil Paśko: Dear Claudia, Don't you mind sharing your solution for all this cases? It would be really beneficial for other users. Kind regards, Kamil W dniu 2018-03-01 o 19:22, Claudia Hirt pisze: Thanks again for your help. I got the disabling behaviour bound to all kinds

Re: Disable component to prevent double click

2018-03-01 Thread Kamil Paśko
Dear Claudia, Don't you mind sharing your solution for all this cases? It would be really beneficial for other users. Kind regards, Kamil W dniu 2018-03-01 o 19:22, Claudia Hirt pisze: Thanks again for your help. I got the disabling behaviour bound to all kinds of links and buttons. I solved

Re: How to mount 404 page with Wicket and Servlet 3.0?

2018-02-13 Thread Kamil Paśko
NOT_FOUND_MOUNT_PATH, Error404Page.class); Martin Grigorov Wicket Training and Consulting Looking for a remote position with Wicket ? Contact me! https://twitter.com/mtgrigorov On Mon, Feb 12, 2018 at 5:42 PM, Kamil Paśko <kamil.pa...@solsoft.pl> wrote: Hi, *Background:* I'm trying to mount 404 pag

How to mount 404 page with Wicket and Servlet 3.0?

2018-02-12 Thread Kamil Paśko
Hi, *Background:* I'm trying to mount 404 page to my Wicket project. I found confluence page wchich explains how to do it using web.xml (https://cwiki.apache.org/confluence/display/WICKET/Error+Pages+and+Feedback+Messages#ErrorPagesandFeedbackMessages-HTTPErrorPages) but my application uses

Re: IAjaxIndicatorAware AjaxBehavior for csv download

2017-12-01 Thread Kamil Paśko
I think he maent: https://issues.apache.org/jira/browse/WICKET-6448 together with: https://issues.apache.org/jira/browse/WICKET-6460 W dniu 2017-11-30 o 13:53, Maxim Solodovnik pisze: Since Wicket-8 you can use AjaxDownloadBehavior I believe it should be more ajax friendly ... On Thu, Nov

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

2017-10-24 Thread Kamil Paśko
prints you need to use JS llibrary for ex. this one http://flaviosilveira.com/Jquery-Price-Format/ looks promising On Tue, Oct 24, 2017 at 8:00 PM, Kamil Paśko <kamil.pa...@solsoft.pl> wrote: Maxim, I tried with: private final class MyFormattedField extends TextField impl

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

2017-10-24 Thread Kamil Paśko
ache/wicket/markup/html/form/AbstractTextComponent.ITextFormatProvider.html#getTextFormat-->()" method and provide your own format According to right align: you can use CSS class for that :) On Tue, Oct 24, 2017 at 6:52 PM, Kamil Paśko <kamil.pa...@solsoft.pl <mailto:kamil.pa...@

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

2017-10-24 Thread Kamil Paśko
/org/apache/wicket/markup/html/form/AbstractTextComponent.ITextFormatProvider.html#getTextFormat-->()" method and provide your own format According to right align: you can use CSS class for that :) On Tue, Oct 24, 2017 at 6:52 PM, Kamil Paśko <kamil.pa...@solsoft.pl <mailto:kami

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