Re: Internationalization with Wicket

2015-04-09 Thread Martin Grigorov
Hi, Yes. MyApplication.properties Put it next to MyApplication.java On Apr 9, 2015 4:30 PM, Hasan Çelik hsnclk1...@gmail.com wrote: Hi, Before I created properties class for every class, for example, HomePage.html HomePage.java HomePage.properties HomePage_tr.properties SecondPage.html

Re: Internationalization with Wicket

2015-04-09 Thread Ernesto Reinaldo Barreiro
by library I mean they will be exported inside a re-usable jar file and used by different projects. On Thu, Apr 9, 2015 at 3:35 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: You have to instruct maven or whatever other build tool to include things on resources... Also you can place

Re: Internationalization with Wicket

2015-04-09 Thread Ernesto Reinaldo Barreiro
You have to instruct maven or whatever other build tool to include things on resources... Also you can place a file MyApplication.properties next to your application class and fetch localization from there. I tend to use this last approach and only use APanel.properties or APage.properties if

Re: Header contribution ordering

2015-04-09 Thread Nick Pratt
Thanks Martin, ill check that out. Is it possible to have a FilteredHeaderContainer in the head section of our base page so that we can have all the regular Wicket includes (JS and CSS) added, and then a special bucket for our global css? I keep running in to: there was an error processing the

wicket:for does not work if used after the referenced component

2015-04-09 Thread Andreas Kappler
Hi, in Wicket 6.18 this code works as expected (for attribute of label is set to id of input and id of input is written to HTML): label wicket:for=cbLabel/label input type=checkbox wicket:id=cb/ However if reversed, the id of the input is not written to the HTML and therefore the label

Re: FormComponentPanel and propagating model value to components

2015-04-09 Thread mscoon
Well the code is a bit more complex that what I originally pasted. ComponentA is instantiated in an overridable method so that subclasses can provide a different implementation. Furthermore, the model cannot be decided at initialization time, so you can't simply call componentA.setModel() right

Re: AutoComplete suggestion list disappear when I click on scrollbar in IE

2015-04-09 Thread Martin Grigorov
Hi, Please file a ticket at JIRA with a quickstart that reproduces the issue. Thanks! Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Apr 8, 2015 at 4:24 PM, ravala ramesh0...@gmail.com wrote: Hi, I am using

Re: Header contribution ordering

2015-04-09 Thread Martin Grigorov
Hi, On Thu, Apr 9, 2015 at 9:23 PM, Nick Pratt nbpr...@gmail.com wrote: Based on the wicket guide, since 1.5 the header contributions of children should occur before that of the Page they are contained in so that the Page can override any component contributions. Is this still valid?

Re: wicket:for does not work if used after the referenced component

2015-04-09 Thread Martin Grigorov
Hi, On Apr 9, 2015 2:46 PM, Andreas Kappler andreas.kapp...@jato-consulting.de wrote: Hi, in Wicket 6.18 this code works as expected (for attribute of label is set to id of input and id of input is written to HTML): label wicket:for=cbLabel/label input type=checkbox wicket:id=cb/ However

Re: Header contribution ordering

2015-04-09 Thread Martin Grigorov
Filtering can be used only in the body. The idea is that any non-filtered Js/CSS resource will go in the head anyway. Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Apr 9, 2015 at 11:24 PM, Nick Pratt nbpr...@gmail.com wrote:

Header contribution ordering

2015-04-09 Thread Nick Pratt
Based on the wicket guide, since 1.5 the header contributions of children should occur before that of the Page they are contained in so that the Page can override any component contributions. Is this still valid? We've got a case where a Panel is contributing a CSS file that's appearing in the

Internationalization with Wicket

2015-04-09 Thread Hasan Çelik
Hi, Before I created properties class for every class, for example, HomePage.html HomePage.java HomePage.properties HomePage_tr.properties SecondPage.html SecondPage.java SecondPage.properties SecondPage_tr.properties In this way, It caused visual pollution and takes a few times while