Re: unable to find property UploadProgressBar.starting

2014-10-08 Thread Garret Wilson
I just wanted to report back and say that, after our installer team updated the distribution to maintain the individual JARs (and thus not overwrite the files with clashing filenames), that solved the problem! Thanks to Martin Grigorov and Andrew Geery for helping point me in the direction of

Re: unable to find property UploadProgressBar.starting

2014-10-02 Thread Martin Grigorov
https://issues.apache.org/jira/browse/WICKET-5713 Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Oct 1, 2014 at 11:11 PM, Garret Wilson gar...@globalmentor.com wrote: On 10/1/2014 5:17 PM, Martin Grigorov wrote: ... Are you aware of JDK APIs (e.g.

unable to find property UploadProgressBar.starting

2014-10-01 Thread Garret Wilson
us a MissingResourceException: Unable to find property: 'UploadProgressBar.starting' (see below). No doubt there's something simple I'm forgetting. Any suggestions? Here's the stack trace: 2014-09-22 07:40:49 ERROR (DefaultExceptionMapper) [2014-09-22 07:40:49,433

Re: unable to find property UploadProgressBar.starting

2014-10-01 Thread Martin Grigorov
We're using embedded Jetty 9.1.0.v20131115. Running from my IDE (Eclipse) this works just fine. But when our team creates a jar file and distributes the application with an installer, just tried to browser to the page in question gives us a MissingResourceException: Unable to find property

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: 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: 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/ ?

Unable to find property

2013-01-20 Thread Lucio Crusca
); dataTable.addBottomToolbar(new ExportToolbar(dataTable).addDataExporter(c_exp)); but when I try the app I get the following in the browser window: java.util.MissingResourceException: Unable to find property: 'datatable.export-file-name'. Locale: null, style: null

Re: Unable to find property

2013-01-20 Thread Sven Meier
(dataTable); et.addDataExporter(c_exp); dataTable.addBottomToolbar(new ExportToolbar(dataTable).addDataExporter(c_exp)); but when I try the app I get the following in the browser window: java.util.MissingResourceException: Unable to find property: 'datatable.export-file-name

Re: Unable to find property

2013-01-20 Thread Lucio Crusca
In data domenica 20 gennaio 2013 17:16:48, Sven Meier ha scritto: If you don't provide a filename to the ExportToolbar constructor, a String resource with key datatable.export-file-name is used. Normally a default is provided here: