Re: how to connect elements - label and input (checkbox)

2014-10-01 Thread Martin Grigorov
Hi, Please attach a quickstart that reproduce this in a ticket in JIRA. Thanks! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Oct 1, 2014 at 6:49 AM, miguel mig...@thedeanda.com wrote: wow this is the strangest thing. i searched for the same thing a

Re: AjaxFormChoiceComponentUpdatingBehavior CheckGroup and CheckGroupSelector

2014-10-01 Thread pureza
Nevermind, I think I got it. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFormChoiceComponentUpdatingBehavior-CheckGroup-and-CheckGroupSelector-tp4641921p4667773.html Sent from the Users forum mailing list archive at Nabble.com.

unable to find property UploadProgressBar.starting

2014-10-01 Thread Garret Wilson
Friends, I have a Wicket page using the upload progress bar: span wicket:id=progress[[upload progress bar]]/span form.add(new UploadProgressBar(progress, form, fileUpload)); Dependencies are declared normally in Maven: dependency groupIdorg.apache.wicket/groupId

Re: unable to find property UploadProgressBar.starting

2014-10-01 Thread Martin Grigorov
Hi, Do you by chance manipulate the list of IStringResourceLoader's in DEPLOYMENT mode ? See org.apache.wicket.settings.ResourceSettings#getStringResourceLoaders() org.apache.wicket.resource.loader.InitializerStringResourceLoader is responsible to load the resource bundle

Re: unable to find property UploadProgressBar.starting

2014-10-01 Thread Garret Wilson
On 10/1/2014 12:33 PM, Martin Grigorov wrote: Hi, Do you by chance manipulate the list of IStringResourceLoader's in DEPLOYMENT mode ? I don't think I touched anything related to IStringResourceLoader. The only thing I've done relating to modes is this: //turn on Wicket development

Re: unable to find property UploadProgressBar.starting

2014-10-01 Thread Andrew Geery
As a sanity check, is the property file with the property UploadProgressBar.starting in the jar file? Perhaps it didn't get copied over by the Maven build process into the jar but the IDE was properly copying it over... Andrew On Wed, Oct 1, 2014 at 11:38 AM, Garret Wilson

Re: unable to find property UploadProgressBar.starting

2014-10-01 Thread Martin Grigorov
The .properties file is packed inside wicket-extensions.jar, not in his application. I have no other ideas but to attach a remote debugger to org.apache.wicket.resource.loader.InitializerStringResourceLoader#loadStringResource(java.lang.Class?, java.lang.String, java.util.Locale,

Re: FormValidators and messages property file

2014-10-01 Thread msalman
Hi Martin, Thanks for your help. That worked but I had to do a few extra things such as setting the values for '${label0}', etc. What I don't get is why do we need to do this extra thing for Form validation classes (extending AbstractFormValidator) but not for component validation classes

Re: unable to find property UploadProgressBar.starting

2014-10-01 Thread Garret Wilson
I think I've found the source of the problem (even though I don't understand the internal details). Our installer creates an uber-JAR that has all the dependencies exploded and then placed inside a single JAR file. I looked inside wicket-extensions-7.0.0-M3.jar, and it has a file

Re: unable to find property UploadProgressBar.starting

2014-10-01 Thread Martin Grigorov
Apache Isis uses http://simplericity.org/jetty-console/jetty-console-maven-plugin/ to generate an executable .jar that contains all dependencies in WEB-INF/lib/ folder inside. Exactly as you need it. About IIinitializer: this is the simple plugin system Wicket uses. It loads all

Re: FormValidators and messages property file

2014-10-01 Thread Martin Grigorov
Hi, I see what happens. form.getString() would work because of https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/resource/loader/ValidatorStringResourceLoader.java#L100 But using ValidationError has no reference to the form, and thus its form validators, and

Re: unable to find property UploadProgressBar.starting

2014-10-01 Thread Garret Wilson
On 10/1/2014 3:31 PM, Martin Grigorov wrote: Apache Isis uses http://simplericity.org/jetty-console/jetty-console-maven-plugin/ to generate an executable .jar that contains all dependencies in WEB-INF/lib/ folder inside. Exactly as you need it. Yeah, in another subproject I had already created

Re: unable to find property UploadProgressBar.starting

2014-10-01 Thread Martin Grigorov
On Wed, Oct 1, 2014 at 9:49 PM, Garret Wilson gar...@globalmentor.com wrote: On 10/1/2014 3:31 PM, Martin Grigorov wrote: Apache Isis uses http://simplericity.org/jetty-console/jetty-console-maven-plugin/ to generate an executable .jar that contains all dependencies in WEB-INF/lib/ folder

Re: unable to find property UploadProgressBar.starting

2014-10-01 Thread Garret Wilson
On 10/1/2014 5:17 PM, Martin Grigorov wrote: ... Are you aware of JDK APIs (e.g. ClassLoader) or Servlet APIs (e.g. SevletContext) that make it simple to find the list of resources in a folder in the classpath ? E.g. give me a list of all files with extension '.properties' in /META-INF/wicket/ ?

Re: FormValidators and messages property file

2014-10-01 Thread msalman
Well, I wanted these to be independent validation classes. But now it seems like a bad idea. I will make them part of the form. Martin, your comments and help are much appreciated. Thanks. -- View this message in context: