Re: Overriding wicket-ajax-jquery.js

2015-09-28 Thread Martin Grigorov
Time to become better with JavaScript! ;-) Fire the debugger and see what happens. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Sep 28, 2015 at 12:56 PM, avchavan wrote: > I am not too good with Javascript. > What i did is made a duplicate file locally f

Re: Overriding wicket-ajax-jquery.js

2015-09-28 Thread avchavan
I am not too good with Javascript. What i did is made a duplicate file locally for wicket-ajax-jquery.js and modified "beforeunload" to "unload". Imported this duplicate file at the end (just before the Head tag closes). But it doesn't work. -- View this message in context: http://apache-wicket.1

Re: StringValidator does not fail?

2015-09-28 Thread Rob Audenaerde
Hi Martin, Thanks you the quick reply, I have created an issue and quickstart: https://issues.apache.org/jira/browse/WICKET-5987 -Rob On Mon, Sep 28, 2015 at 10:57 AM, Martin Grigorov wrote: > Hi, > > I looks like a bug. > Please create a ticket with a quickstart and/or unit test. > Thanks! >

Re: StringValidator does not fail?

2015-09-28 Thread Martin Grigorov
Hi, I looks like a bug. Please create a ticket with a quickstart and/or unit test. Thanks! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Sep 28, 2015 at 10:54 AM, Rob Audenaerde wrote: > Hi all > > I have a change-password-page with a PasswordField with

StringValidator does not fail?

2015-09-28 Thread Rob Audenaerde
Hi all I have a change-password-page with a PasswordField with a StringValidator.lengthBetween( 3, 20 ). I ran into an error where I could paste a long password (>20 chars), and Wicket not throwing errors, but cutting the password to length 20. Wicket version: 7.0 Chrome: 45 The maxlength is re

Re: Overriding wicket-ajax-jquery.js

2015-09-28 Thread Martin Grigorov
https://issues.apache.org/jira/browse/WICKET-5822 is fixed in 6.20.0 too But yes, you could use "monkey patching" to override it locally too. Please search for "monkey patch javascript" in the web. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Sep 28, 2015

Overriding wicket-ajax-jquery.js

2015-09-28 Thread avchavan
Hi, I am using AjaxSelfUpdatingTimerBehavior in my application which is for session timeout kinda functionality. Also i have a Download functionality using DownloadLink. The AjaxSelfUpdatingTimerBehavior doesnt work after i download a file. I saw a JIRA created for similar issue: https://issues.ap