Ok I've done that and when the webapp starts up I get this: INFO: 2011-05-18 09:36:53,246 Loading properties files from jar:file:/pah/to/my/app/WEB-INF/lib/wicket-1.4.13.jar!/org/apache/wicket/Application.properties [http-8081-Processor24]
Accessing pages I see things like: DEBUG: 2011-05-18 09:38:27,823 Property found in cache: 'link.my.profile.tooltip'; Component: '[MarkupContainer [Component id = myProfileLink]]'; value: 'Ver y editar tu perfil' [http-8081-Processor19] Which all looks good. Then, when I access the panel that has the MultiFileUploadField component, I see no reference at all to any of the properties. In contrast, when I access a panel that has the phone number validator, which actually works in terms of internationalisation, I get: DEBUG: 2011-05-18 09:40:06,655 Property found in cache: 'homephone.PhoneNumberValidator'; Component: '[MarkupContainer [Component id = homephone]]'; value: 'N?mero de tel?fono no v?lido' [http-8081-Processor19] Does that give you an idea of where the issue might be? thanks, Steve On 17/05/2011, at 10:26 PM, Martin Grigorov wrote: > Enable debug level logging for org.apache.wicket.Localizer and see what is > attempted. > > On Tue, May 17, 2011 at 1:37 PM, Steve Swinsburg > <steve.swinsb...@gmail.com>wrote: > >> Yeah, that's where I have them and its not working. Its the same spot we >> have the ones that do work too. >> >> We do use a custom resource loader but I don't understand why it would >> allow us to override some properties from Wicket components, and not others. >> >> Does the property need to be prefixed with the wicket id or something? >> >> Any ideas? >> >> Thanks >> Steve >> >> >> Sent from my iPhone >> >> On 17/05/2011, at 17:37, Martin Grigorov <mgrigo...@apache.org> wrote: >> >>> Looking at MultiFileUploadField.java these are exactly the keys you have >> to >>> use. >>> Try to put them in MyApp_es.properties >>> >>> On Tue, May 17, 2011 at 9:31 AM, Steve Swinsburg >>> <steve.swinsb...@gmail.com>wrote: >>> >>>> Hi, >>>> >>>> We are having an issue setting some properties to override the default >> text >>>> for the MultiFileUploadField component. As per the docs, we have set the >>>> following in our local properties file: >>>> >>>>>> org.apache.wicket.mfu.caption.unlimited=Ficheros: >>>>>> org.apache.wicket.mfu.caption.limited=Ficheros (m\u00E1ximo ${max}): >>>>>> org.apache.wicket.mfu.delete=Borrar >>>> >>>> >>>> however they are not being overridden. We know our properties file is >>>> working because we can override other properties, like: >>>> >>>>>> workphone.PhoneNumberValidator = N\u00FAmero de tel\u00E9fono no >>>> v\u00E1lido >>>> >>>> and those come up correctly. >>>> >>>> Is this a bug? If not, what might we be missing? >>>> >>>> Wicket 1.4.13 >>>> >>>> thanks, >>>> steve >>> >>> >>> >>> >>> -- >>> Martin Grigorov >>> jWeekend >>> Training, Consulting, Development >>> http://jWeekend.com <http://jweekend.com/> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com <http://jweekend.com/> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org