Testing JS

2014-08-11 Thread Pierre Goupil
Good evening, Are there any good practices or known solutions in order to test the JavaScript of a Wicket application? For the moment, I launch my tests in the Wicket pages in Jenkins, with a flag telling whether to display them or not depending upon the staging plateform: they are hidden in prod

Re: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-11 Thread Sebastien
Very nice! :) On Mon, Aug 11, 2014 at 9:50 PM, Martin Grigorov wrote: > https://issues.apache.org/jira/browse/WICKET-5671 :-) > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > > On Mon, Aug 11, 2014 at 5:32 PM, Martin Grigorov > wrote: > > > http://jira.

Re: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-11 Thread Martin Grigorov
https://issues.apache.org/jira/browse/WICKET-5671 :-) Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Aug 11, 2014 at 5:32 PM, Martin Grigorov wrote: > http://jira.codehaus.org/browse/ARCHETYPE-274 > apparently it is not supported for now > > Martin Grigor

Re: wicket 6 calling javascript func with parameter in OnDomReadyHeaderItem fails in IE9

2014-08-11 Thread Martin Grigorov
Hi, You need to wrap it in quotes - either " or ' Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Aug 11, 2014 at 6:38 PM, fachhoch wrote: > In my component I am adding a script to OnDomReadyHeaderItem this script > is call to a function with parameter

Re: Properties Override

2014-08-11 Thread David Beer
Nope. Just add the properties like I did with a validator. On 11 August 2014 17:27, Martin Grigorov wrote: > Do you set the i18n value in FileInputConfig ? > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > > On Mon, Aug 11, 2014 at 6:07 PM, David Beer >

wicket 6 calling javascript func with parameter in OnDomReadyHeaderItem fails in IE9

2014-08-11 Thread fachhoch
In my component I am adding a script to OnDomReadyHeaderItem this script is call to a function with parameter In wicket ajax debug window I see this error I tried without parameter it works fine, and with parameter in chrome works fine. I am using IE 9 it fails in IE 9 when js has a p

Re: Properties Override

2014-08-11 Thread Martin Grigorov
Do you set the i18n value in FileInputConfig ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Aug 11, 2014 at 6:07 PM, David Beer wrote: > Hi Martin > > My properties file is named ProfileImageUploadPanel.properties same as the > the java class except for

Re: Properties Override

2014-08-11 Thread David Beer
Hi Martin My properties file is named ProfileImageUploadPanel.properties same as the the java class except for the extension. In the Java class I reference the FileInput widget which contains the values I need to overide. The contents of my properties file is as follows: browseLabel=Browse brows

Re: Migration to wicket 7

2014-08-11 Thread Maxim Solodovnik
Thanks Martin, will try to double check On 11 August 2014 22:29, Martin Grigorov wrote: > It should work for MyComponent.properties too. > It uses normal i18n resolving. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > > On Mon, Aug 11, 2014 at 5:24 PM,

Re: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-11 Thread Martin Grigorov
http://jira.codehaus.org/browse/ARCHETYPE-274 apparently it is not supported for now Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Aug 11, 2014 at 10:42 AM, Martin Grigorov wrote: > Cool! > > I'll see whether it is possible to filter out log4j.properties

Re: Migration to wicket 7

2014-08-11 Thread Martin Grigorov
It should work for MyComponent.properties too. It uses normal i18n resolving. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Aug 11, 2014 at 5:24 PM, Maxim Solodovnik wrote: > According to the documentation CSS class names should be set on Application > l

Re: Migration to wicket 7

2014-08-11 Thread Maxim Solodovnik
According to the documentation CSS class names should be set on Application level. Previously it was possible to create custom ICssProvider classes and have multiple different CssProvider for Application I have tried to extend AjaxFallbackOrderByBorder let's say "MyOrderByBorder" and create MyOrder

Re: Properties Override

2014-08-11 Thread Martin Grigorov
Hi, What you explained should work. Give us more details to see what went wrong. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Aug 11, 2014 at 5:16 PM, David Beer wrote: > Hi All > > I am trying to change some values specified in a properties file for a

Properties Override

2014-08-11 Thread David Beer
Hi All I am trying to change some values specified in a properties file for a third party component. The component is part of the wicket-bootstrap project and specifies some value read from a properties file. I would like to override these values from my application, where my panel calls the compo

Re: WebSockets: IKey not Serializable ?

2014-08-11 Thread Sebastien
Cloned, build, tested & approved! Many thanks for this super-quick fix, that's rocks! :) On Mon, Aug 11, 2014 at 3:29 PM, Martin Grigorov wrote: > Improved! > Thanks! > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > > On Mon, Aug 11, 2014 at 3:27 PM, Seb

Re: WebSockets: IKey not Serializable ?

2014-08-11 Thread Martin Grigorov
Improved! Thanks! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Aug 11, 2014 at 3:27 PM, Sebastien wrote: > Done, thanks Martin! > https://issues.apache.org/jira/browse/WICKET-5670 > > > > On Mon, Aug 11, 2014 at 3:18 PM, Martin Grigorov > wrote: > > >

Re: WebSockets: IKey not Serializable ?

2014-08-11 Thread Sebastien
Done, thanks Martin! https://issues.apache.org/jira/browse/WICKET-5670 On Mon, Aug 11, 2014 at 3:18 PM, Martin Grigorov wrote: > It should be Serializable (IClusterable for consistency). > Please file a ticket. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigor

Re: WebSockets: IKey not Serializable ?

2014-08-11 Thread Martin Grigorov
It should be Serializable (IClusterable for consistency). Please file a ticket. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Aug 11, 2014 at 3:12 PM, Sebastien wrote: > Hi all, > > I've got a simple use-case: I would like to run a long-processing task >

WebSockets: IKey not Serializable ?

2014-08-11 Thread Sebastien
Hi all, I've got a simple use-case: I would like to run a long-processing task (through as EJB) and update the UI according to the progress. So, I would like to see how I can achieve this using native websockets (wicket-native-websocket-javax). >From various samples I saw (for instance [1]), the

Re: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-11 Thread Martin Grigorov
Cool! I'll see whether it is possible to filter out log4j.properties with maven-archetype-plugin and if it is then I'll update the quickstart generator. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Aug 11, 2014 at 10:39 AM, Sebastien wrote: > Hi Martin

Re: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-11 Thread Sebastien
Hi Martin, I've removed all log4.properties files and... it's working! :) Thanks a million for your help! I am sure this will prevent some attacks of nerves when users will redeploy their wicket apps from JBoss7 to WildFly8.. Best regards, Sebastien. PS: Stefan & David, thanks for your help too!

Re: java.lang.IllegalArgumentException: Argument 'name' may not be null or empty.

2014-08-11 Thread Martin Grigorov
Hi, I have no idea. If you find a use case where Wicket generates such broken urls then please report it! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Aug 11, 2014 at 9:00 AM, Karl-Heinz Golz < karl-heinz.g...@t-online.de> wrote: > Hi Martin, > > I chec

Re: java.lang.IllegalArgumentException: Argument 'name' may not be null or empty.

2014-08-11 Thread Karl-Heinz Golz
Hi Martin, I checked the logs and I can confirm: the reason for all exceptions was the url: https://www.tierfundus.de/wicket/bookmarkable/ But I wonder how can such a url happen? I'm almost sure the user did not modify the url in her browser manually. Regards/Karl-heinz Am 09.08.2014 um 15:34